summaryrefslogtreecommitdiff
path: root/sound/soc/intel/skylake/skl-topology.h
diff options
context:
space:
mode:
authorOmair M Abdullah <omair.m.abdullah@intel.com>2015-12-03 23:29:56 +0530
committerMark Brown <broonie@kernel.org>2015-12-08 17:57:51 +0000
commit7d9f29119d3e4db6ae817881d8e305650424032c (patch)
tree4c9d788d943f547935440f6b805661ce9295c61f /sound/soc/intel/skylake/skl-topology.h
parentcce1c7f383e829651e0729d4b0b2cb78ea5cb2d6 (diff)
downloadlwn-7d9f29119d3e4db6ae817881d8e305650424032c.tar.gz
lwn-7d9f29119d3e4db6ae817881d8e305650424032c.zip
ASoC: Intel: Skylake: read params from DSP if module is on
If a module is ON then we should read the module parameters from DSP rather than driver cached values Signed-off-by: Omair M Abdullah <omair.m.abdullah@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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/intel/skylake/skl-topology.h b/sound/soc/intel/skylake/skl-topology.h
index 6ba0bdc7753c..9aa2a2b6598a 100644
--- a/sound/soc/intel/skylake/skl-topology.h
+++ b/sound/soc/intel/skylake/skl-topology.h
@@ -342,6 +342,8 @@ int skl_unbind_modules(struct skl_sst *ctx, struct skl_module_cfg
int skl_set_module_params(struct skl_sst *ctx, u32 *params, int size,
u32 param_id, struct skl_module_cfg *mcfg);
+int skl_get_module_params(struct skl_sst *ctx, u32 *params, int size,
+ u32 param_id, struct skl_module_cfg *mcfg);
enum skl_bitdepth skl_get_bit_depth(int params);
#endif