summaryrefslogtreecommitdiff
path: root/sound/soc/intel/skylake/skl-topology.h
diff options
context:
space:
mode:
authorJeeja KP <jeeja.kp@intel.com>2015-12-03 23:29:53 +0530
committerMark Brown <broonie@kernel.org>2015-12-08 17:57:51 +0000
commit4ced182763286a7c26cf671b27d1ddd58cf6cec8 (patch)
tree3e917f25db0d7282d31d97faa1a6486250a09b15 /sound/soc/intel/skylake/skl-topology.h
parentfd18110f1480d51f416cea6d5f63b83f85b14043 (diff)
downloadlwn-4ced182763286a7c26cf671b27d1ddd58cf6cec8.tar.gz
lwn-4ced182763286a7c26cf671b27d1ddd58cf6cec8.zip
ASoC: Intel: Skylake: Fix module init data correctly
Module initialization parameter data can be set by - INIT_INSTANCE IPC by using the default value - SET_PARAMS immediately after INIT_INSTANCE - SET_PARAMS data from kcontrol values set this patch add param type to identify the parameters has to be sent to DSP. 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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/intel/skylake/skl-topology.h b/sound/soc/intel/skylake/skl-topology.h
index 349f2a3b6613..6ba0bdc7753c 100644
--- a/sound/soc/intel/skylake/skl-topology.h
+++ b/sound/soc/intel/skylake/skl-topology.h
@@ -211,7 +211,7 @@ struct skl_module_pin {
};
struct skl_specific_cfg {
- bool set_params;
+ u32 set_params;
u32 param_id;
u32 caps_size;
u32 *caps;
@@ -294,7 +294,7 @@ struct skl_module_cfg {
struct skl_algo_data {
u32 param_id;
- bool set_params;
+ u32 set_params;
u32 max;
char *params;
};