mirror of
https://github.com/torvalds/linux.git
synced 2026-06-03 20:14:06 +02:00
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>
This commit is contained in:
parent
6370a996f3
commit
57b00ab3d3
|
|
@ -311,6 +311,26 @@ struct asoc_sdw_codec_info codec_info_list[] = {
|
|||
},
|
||||
.dai_num = 1,
|
||||
},
|
||||
{
|
||||
.part_id = 0x1321,
|
||||
.dais = {
|
||||
{
|
||||
.direction = {true, false},
|
||||
.dai_name = "rt1320-aif1",
|
||||
.component_name = "rt1320",
|
||||
.dai_type = SOC_SDW_DAI_TYPE_AMP,
|
||||
.dailink = {SOC_SDW_AMP_OUT_DAI_ID, SOC_SDW_UNUSED_DAI_ID},
|
||||
.init = asoc_sdw_rt_amp_init,
|
||||
.exit = asoc_sdw_rt_amp_exit,
|
||||
.rtd_init = asoc_sdw_rt_amp_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),
|
||||
},
|
||||
},
|
||||
.dai_num = 1,
|
||||
},
|
||||
{
|
||||
.part_id = 0x714,
|
||||
.version_id = 3,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user