summaryrefslogtreecommitdiff
path: root/sound/soc/intel/skylake/skl-topology.h
diff options
context:
space:
mode:
authorDharageswari R <dharageswari.r@intel.com>2016-09-22 11:30:40 +0300
committerMark Brown <broonie@kernel.org>2016-09-24 21:26:25 +0300
commit5e8f0ee46de46e709e19675726a46cf5838b9bca (patch)
tree93cf4917c44fbfe0476270376278393d7b3cb37c /sound/soc/intel/skylake/skl-topology.h
parentef2a352cfb2a536ae8718065b43702a97f9fba9f (diff)
downloadlinux-5e8f0ee46de46e709e19675726a46cf5838b9bca.tar.xz
ASoC: Intel: Skylake: Update to use instance ids generated
Post bind parameters of KPB module contains the instance id's of neighbouring modules in the sink path Now that module instance ids are generated dynamically we need to update these parameters as well, so use the table created and update the ids Signed-off-by: Dharageswari R <dharageswari.r@intel.com> Signed-off-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.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/sound/soc/intel/skylake/skl-topology.h b/sound/soc/intel/skylake/skl-topology.h
index def03912b1bd..a519360f42a6 100644
--- a/sound/soc/intel/skylake/skl-topology.h
+++ b/sound/soc/intel/skylake/skl-topology.h
@@ -215,6 +215,16 @@ struct skl_module_fmt {
struct skl_module_cfg;
+struct skl_mod_inst_map {
+ u16 mod_id;
+ u16 inst_id;
+};
+
+struct skl_kpb_params {
+ u32 num_modules;
+ struct skl_mod_inst_map map[0];
+};
+
struct skl_module_inst_id {
int module_id;
u32 instance_id;