Skip to content

Commit 9f028d2

Browse files
macchianbardliao
authored andcommitted
ASoC: sdw_utils: Add quirk to exclude amplifier function
When SKUs use the multi-function codec, which integrates Headset, Amplifier and DMIC. The corresponding quirks provide options to support internal amplifier/DMIC or not. In the case of RT722, this SKU excludes the internal amplifier and use an additional amplifier instead. Signed-off-by: Mac Chiang <mac.chiang@intel.com>
1 parent c152730 commit 9f028d2

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
@@ -418,6 +418,8 @@ struct asoc_sdw_codec_info codec_info_list[] = {
418418
.num_controls = ARRAY_SIZE(generic_spk_controls),
419419
.widgets = generic_spk_widgets,
420420
.num_widgets = ARRAY_SIZE(generic_spk_widgets),
421+
.quirk = SOC_SDW_CODEC_SPKR,
422+
.quirk_exclude = true,
421423
},
422424
{
423425
.direction = {false, true},

0 commit comments

Comments
 (0)