ASoC: added WSA2 support on targets with more than two spkrs
Add wsa2 backend dai links only in platforms which has 4 wsa speakers. add 2 to the device index parsed from hardware device id of wsa slave to match the dai names in the msm_dailink.h Change-Id: Iffe43842123526f4925f9d5bcd8dff0317bac7a7 Signed-off-by: Junkai Cai <junkai@codeaurora.org>
This commit is contained in:

committed by
Gerrit - the friendly Code Review server

parent
3ae97cf8fa
commit
647c4b4898
@@ -2154,7 +2154,7 @@ static int lpass_cdc_wsa2_macro_soft_clip_enable_put(struct snd_kcontrol *kcontr
|
||||
}
|
||||
|
||||
static const struct snd_kcontrol_new lpass_cdc_wsa2_macro_snd_controls[] = {
|
||||
SOC_ENUM_EXT("GSM mode Enable", lpass_cdc_wsa2_macro_vbat_bcl_gsm_mode_enum,
|
||||
SOC_ENUM_EXT("WSA2_GSM mode Enable", lpass_cdc_wsa2_macro_vbat_bcl_gsm_mode_enum,
|
||||
lpass_cdc_wsa2_macro_vbat_bcl_gsm_mode_func_get,
|
||||
lpass_cdc_wsa2_macro_vbat_bcl_gsm_mode_func_put),
|
||||
SOC_ENUM_EXT("WSA2_RX0 comp_mode", lpass_cdc_wsa2_macro_comp_mode_enum,
|
||||
|
Reference in New Issue
Block a user