Skip to content

Commit a6f7afb

Browse files
charleskeepaxbroonie
authored andcommitted
ASoC: sdw_utils: Add a quirk to allow the cs42l43 mic DAI to be ignored
To support some systems using host microphones add a quirk to allow the cs42l43 microphone DAI link to be ignored. Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com> Reviewed-by: Liam Girdwood <liam.r.girdwood@intel.com> Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com> Link: https://patch.msgid.link/20241016030344.13535-3-yung-chuan.liao@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent 3d9b44d commit a6f7afb

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

include/sound/soc_sdw_utils.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
* - SOC_SDW_CODEC_SPKR | SOF_SIDECAR_AMPS - Not currently supported
2929
*/
3030
#define SOC_SDW_SIDECAR_AMPS BIT(16)
31+
#define SOC_SDW_CODEC_MIC BIT(17)
3132

3233
#define SOC_SDW_UNUSED_DAI_ID -1
3334
#define SOC_SDW_JACK_OUT_DAI_ID 0

sound/soc/sdw_utils/soc_sdw_utils.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -528,6 +528,8 @@ struct asoc_sdw_codec_info codec_info_list[] = {
528528
.rtd_init = asoc_sdw_cs42l43_dmic_rtd_init,
529529
.widgets = generic_dmic_widgets,
530530
.num_widgets = ARRAY_SIZE(generic_dmic_widgets),
531+
.quirk = SOC_SDW_CODEC_MIC,
532+
.quirk_exclude = true,
531533
},
532534
{
533535
.direction = {false, true},

0 commit comments

Comments
 (0)