diff options
author | Dharageswari R <dharageswari.r@intel.com> | 2016-09-22 11:30:40 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-09-24 21:26:25 +0300 |
commit | 5e8f0ee46de46e709e19675726a46cf5838b9bca (patch) | |
tree | 93cf4917c44fbfe0476270376278393d7b3cb37c /sound/soc/intel/skylake/skl-topology.h | |
parent | ef2a352cfb2a536ae8718065b43702a97f9fba9f (diff) | |
download | linux-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.h | 10 |
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; |