mirror of
https://github.com/torvalds/linux.git
synced 2026-05-23 14:42:08 +02:00
ASoC: sdw_utils: make RT712/RT721 CODEC_MIC be optional
Bard Liao <yung-chuan.liao@linux.intel.com> says: The RT712 and RT721 codec mic are optional and are not used on some products. Add a quirk to make it optional and skip the codec mic DAI when it is not present in DisCo table. Link: https://patch.msgid.link/20260508093224.1246282-1-yung-chuan.liao@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
commit
d743974248
|
|
@ -194,6 +194,8 @@ struct asoc_sdw_codec_info codec_info_list[] = {
|
|||
.dai_type = SOC_SDW_DAI_TYPE_MIC,
|
||||
.dailink = {SOC_SDW_UNUSED_DAI_ID, SOC_SDW_DMIC_DAI_ID},
|
||||
.rtd_init = asoc_sdw_rt_dmic_rtd_init,
|
||||
.quirk = SOC_SDW_CODEC_MIC,
|
||||
.quirk_exclude = true,
|
||||
},
|
||||
},
|
||||
.dai_num = 3,
|
||||
|
|
@ -501,6 +503,8 @@ struct asoc_sdw_codec_info codec_info_list[] = {
|
|||
.dai_type = SOC_SDW_DAI_TYPE_MIC,
|
||||
.dailink = {SOC_SDW_UNUSED_DAI_ID, SOC_SDW_DMIC_DAI_ID},
|
||||
.rtd_init = asoc_sdw_rt_dmic_rtd_init,
|
||||
.quirk = SOC_SDW_CODEC_MIC,
|
||||
.quirk_exclude = true,
|
||||
},
|
||||
},
|
||||
.dai_num = 3,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user