mirror of
https://github.com/torvalds/linux.git
synced 2024-11-29 15:41:36 +00:00
ASoC: Intel: sof_sdw: Add missing controls for cs42l43/cs35l56
No reason for cs42l43 and cs35l56 not to offer pin switch controls for the headphones and speakers, add these controls. Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com> Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com> Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Link: https://msgid.link/r/20240527193552.165567-9-pierre-louis.bossart@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
a9a7e865b1
commit
8a7f876a69
@ -1059,6 +1059,8 @@ static struct sof_sdw_codec_info codec_info_list[] = {
|
||||
.dailink = {SDW_AMP_OUT_DAI_ID, SDW_AMP_IN_DAI_ID},
|
||||
.init = sof_sdw_cs_amp_init,
|
||||
.rtd_init = cs_spk_rtd_init,
|
||||
.controls = generic_spk_controls,
|
||||
.num_controls = ARRAY_SIZE(generic_spk_controls),
|
||||
.widgets = generic_spk_widgets,
|
||||
.num_widgets = ARRAY_SIZE(generic_spk_widgets),
|
||||
},
|
||||
@ -1094,6 +1096,8 @@ static struct sof_sdw_codec_info codec_info_list[] = {
|
||||
.dai_type = SOF_SDW_DAI_TYPE_JACK,
|
||||
.dailink = {SDW_JACK_OUT_DAI_ID, SDW_UNUSED_DAI_ID},
|
||||
.rtd_init = cs42l43_hs_rtd_init,
|
||||
.controls = generic_jack_controls,
|
||||
.num_controls = ARRAY_SIZE(generic_jack_controls),
|
||||
.widgets = generic_jack_widgets,
|
||||
.num_widgets = ARRAY_SIZE(generic_jack_widgets),
|
||||
},
|
||||
@ -1119,6 +1123,8 @@ static struct sof_sdw_codec_info codec_info_list[] = {
|
||||
.dailink = {SDW_AMP_OUT_DAI_ID, SDW_UNUSED_DAI_ID},
|
||||
.init = sof_sdw_cs42l43_spk_init,
|
||||
.rtd_init = cs42l43_spk_rtd_init,
|
||||
.controls = generic_spk_controls,
|
||||
.num_controls = ARRAY_SIZE(generic_spk_controls),
|
||||
.widgets = generic_spk_widgets,
|
||||
.num_widgets = ARRAY_SIZE(generic_spk_widgets),
|
||||
.quirk = SOF_CODEC_SPKR | SOF_SIDECAR_AMPS,
|
||||
|
Loading…
Reference in New Issue
Block a user