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>
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
Reference in New Issue
Block a user