diff options
author | Jeeja KP <jeeja.kp@intel.com> | 2017-01-02 05:20:04 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2017-01-06 19:14:31 +0100 |
commit | eee0e16f8c3cf31fbbae4a88e51d25abebbaf147 (patch) | |
tree | 8ca1e2a7ba4e25773ba450cc55abeccc4b98932c /sound/soc/intel/skylake/skl-topology.h | |
parent | ASoC: Intel: bytcr_rt5640: quirks for Insyde devices (diff) | |
download | linux-eee0e16f8c3cf31fbbae4a88e51d25abebbaf147.tar.xz linux-eee0e16f8c3cf31fbbae4a88e51d25abebbaf147.zip |
ASoC: Intel: Skylake: Clean up manifest info
Instead of passing the topology manifest info directly to IPC library,
define the manifest info in topology and use this in IPC Library.
This will remove the dependency on topology interface definition with
IPC library.
Signed-off-by: Jeeja KP <jeeja.kp@intel.com>
Acked-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/intel/skylake/skl-topology.h')
-rw-r--r-- | sound/soc/intel/skylake/skl-topology.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/sound/soc/intel/skylake/skl-topology.h b/sound/soc/intel/skylake/skl-topology.h index a0d3158196f0..fefab0e99a3b 100644 --- a/sound/soc/intel/skylake/skl-topology.h +++ b/sound/soc/intel/skylake/skl-topology.h @@ -334,6 +334,19 @@ struct skl_pipeline { struct list_head node; }; +#define SKL_LIB_NAME_LENGTH 128 +#define SKL_MAX_LIB 16 + +struct skl_lib_info { + char name[SKL_LIB_NAME_LENGTH]; + const struct firmware *fw; +}; + +struct skl_manifest { + u32 lib_count; + struct skl_lib_info lib[SKL_MAX_LIB]; +}; + static inline struct skl *get_skl_ctx(struct device *dev) { struct hdac_ext_bus *ebus = dev_get_drvdata(dev); |