Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

ASoC: sdw_utils: add rt1321 part id to codec_info_list

The SdW machine driver supports the part id rt1321 amplifier.

Signed-off-by: Shuming Fan <shumingf@realtek.com>
Link: https://patch.msgid.link/20251014092157.2789054-1-shumingf@realtek.com
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Shuming Fan and committed by
Mark Brown
57b00ab3 6370a996

+20
+20
sound/soc/sdw_utils/soc_sdw_utils.c
··· 312 312 .dai_num = 1, 313 313 }, 314 314 { 315 + .part_id = 0x1321, 316 + .dais = { 317 + { 318 + .direction = {true, false}, 319 + .dai_name = "rt1320-aif1", 320 + .component_name = "rt1320", 321 + .dai_type = SOC_SDW_DAI_TYPE_AMP, 322 + .dailink = {SOC_SDW_AMP_OUT_DAI_ID, SOC_SDW_UNUSED_DAI_ID}, 323 + .init = asoc_sdw_rt_amp_init, 324 + .exit = asoc_sdw_rt_amp_exit, 325 + .rtd_init = asoc_sdw_rt_amp_spk_rtd_init, 326 + .controls = generic_spk_controls, 327 + .num_controls = ARRAY_SIZE(generic_spk_controls), 328 + .widgets = generic_spk_widgets, 329 + .num_widgets = ARRAY_SIZE(generic_spk_widgets), 330 + }, 331 + }, 332 + .dai_num = 1, 333 + }, 334 + { 315 335 .part_id = 0x714, 316 336 .version_id = 3, 317 337 .ignore_internal_dmic = true,