summaryrefslogtreecommitdiff
path: root/sound/soc/intel/skylake/skl-topology.h
diff options
context:
space:
mode:
authorJeeja KP <jeeja.kp@intel.com>2015-11-28 15:01:49 +0530
committerMark Brown <broonie@kernel.org>2015-12-01 22:17:00 +0000
commitabb740033b56a2f57582e8e26bb9ea3650b6a3cc (patch)
tree7c16babc93c2a43f45f15d6c8e5f6bc65f4cda94 /sound/soc/intel/skylake/skl-topology.h
parent399b210bef097ce01d9e7b03ce5d4435f0624111 (diff)
ASoC: Intel: Skylake: Add support to configure module params
This adds support to configure module parameter during module initialization or after module init using set module param required by the DSP firmware sequence. Signed-off-by: Jeeja KP <jeeja.kp@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.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/sound/soc/intel/skylake/skl-topology.h b/sound/soc/intel/skylake/skl-topology.h
index 0a66fab59828..51e785424a37 100644
--- a/sound/soc/intel/skylake/skl-topology.h
+++ b/sound/soc/intel/skylake/skl-topology.h
@@ -206,6 +206,8 @@ struct skl_module_pin {
};
struct skl_specific_cfg {
+ bool set_params;
+ u32 param_id;
u32 caps_size;
u32 *caps;
};
@@ -284,6 +286,13 @@ struct skl_module_cfg {
struct skl_specific_cfg formats_config;
};
+struct skl_algo_data {
+ u32 param_id;
+ bool set_params;
+ u32 max;
+ char *params;
+};
+
struct skl_pipeline {
struct skl_pipe *pipe;
struct list_head node;