Skip to content

Commit 57d22be

Browse files
macchianbardliao
authored andcommitted
ASoC: sdw_utils: Add quirk to ignore RT712 CODEC_MIC
Some devices do not use CODEC_MIC but use the host PCH_DMIC instead. Add a quirk to skip the CODEC_MIC DAI when it is not present in disco table, ensuring the correct capture device is used. If CODEC_MIC is present, it continues to be used as default. Fixes: 9489db9 ("ASoC: sdw_utils: add SmartMic DAI for RT712 VB") Signed-off-by: Mac Chiang <mac.chiang@intel.com>
1 parent 106e683 commit 57d22be

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

sound/soc/sdw_utils/soc_sdw_utils.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,8 @@ struct asoc_sdw_codec_info codec_info_list[] = {
194194
.dai_type = SOC_SDW_DAI_TYPE_MIC,
195195
.dailink = {SOC_SDW_UNUSED_DAI_ID, SOC_SDW_DMIC_DAI_ID},
196196
.rtd_init = asoc_sdw_rt_dmic_rtd_init,
197+
.quirk = SOC_SDW_CODEC_MIC,
198+
.quirk_exclude = true,
197199
},
198200
},
199201
.dai_num = 3,

0 commit comments

Comments
 (0)