Commit da3417fe authored by Guneshwor Singh's avatar Guneshwor Singh Committed by Mark Brown

ASoC: Intel: Skylake: Add channel map in updown mixer module IPC

DSP expects channel map to be sent in the IPC for updown mixer module.
So add ch_map info in updown mixer module config.
Signed-off-by: default avatarGuneshwor Singh <guneshwor.o.singh@intel.com>
Acked-By: default avatarVinod Koul <vinod.koul@intel.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 3e1b96c8
...@@ -706,6 +706,7 @@ static void skl_set_updown_mixer_format(struct skl_sst *ctx, ...@@ -706,6 +706,7 @@ static void skl_set_updown_mixer_format(struct skl_sst *ctx,
skl_set_base_module_format(ctx, mconfig, skl_set_base_module_format(ctx, mconfig,
(struct skl_base_cfg *)mixer_mconfig); (struct skl_base_cfg *)mixer_mconfig);
mixer_mconfig->out_ch_cfg = fmt->ch_cfg; mixer_mconfig->out_ch_cfg = fmt->ch_cfg;
mixer_mconfig->ch_map = fmt->ch_map;
} }
/* /*
......
...@@ -161,6 +161,7 @@ struct skl_up_down_mixer_cfg { ...@@ -161,6 +161,7 @@ struct skl_up_down_mixer_cfg {
u32 coeff_sel; u32 coeff_sel;
/* Pass the user coeff in this array */ /* Pass the user coeff in this array */
s32 coeff[UP_DOWN_MIXER_MAX_COEFF]; s32 coeff[UP_DOWN_MIXER_MAX_COEFF];
u32 ch_map;
} __packed; } __packed;
struct skl_algo_cfg { struct skl_algo_cfg {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment