Skip to content

Commit 125efe7

Browse files
plbossartbardliao
authored andcommitted
ASoC: sdw_utils: add SmartMic DAI for RT712 VB
In theory the dailinks are created based on the number of endpoints reported in ACPI match tables, so it should harmless to add a new dailink: RT712 VA would not use it since it has only 2 endpoints. Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
1 parent 2c22120 commit 125efe7

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

sound/soc/sdw_utils/soc_sdw_utils.c

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,8 +144,15 @@ struct asoc_sdw_codec_info codec_info_list[] = {
144144
.widgets = generic_spk_widgets,
145145
.num_widgets = ARRAY_SIZE(generic_spk_widgets),
146146
},
147+
{
148+
.direction = {false, true},
149+
.dai_name = "rt712-sdca-aif3",
150+
.dai_type = SOC_SDW_DAI_TYPE_MIC,
151+
.dailink = {SOC_SDW_UNUSED_DAI_ID, SOC_SDW_DMIC_DAI_ID},
152+
.rtd_init = asoc_sdw_rt_dmic_rtd_init,
153+
},
147154
},
148-
.dai_num = 2,
155+
.dai_num = 3,
149156
},
150157
{
151158
.part_id = 0x1712,

0 commit comments

Comments
 (0)