[SRU][OEM-B][PATCH 1/1] UBUNTU: SAUCE: ALSA: hda - chain the headset fix to an existing quirk

Hui Wang hui.wang at canonical.com
Fri Jan 3 02:43:19 UTC 2020


BugLink: https://bugs.launchpad.net/bugs/1858156

Because these machines already applied an fixup by subsystem_id, the
fallback_tbl will not take effect on these machines. But these
machines need ALC255_FIXUP_DELL1_MIC_NO_PRESENCE to fix the
headset-mic problem, so chain two fixups together.

Signed-off-by: Hui Wang <hui.wang at canonical.com>
---
 sound/pci/hda/patch_realtek.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index 9c00175b6ec5..ebc23eedf475 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -6823,6 +6823,8 @@ static const struct hda_fixup alc269_fixups[] = {
 	[ALC256_FIXUP_SKIP_FORCE_RESUME] = {
 		.type = HDA_FIXUP_FUNC,
 		.v.func = alc_fixup_skip_force_resume,
+		.chained = true,
+		.chain_id = ALC255_FIXUP_DELL1_MIC_NO_PRESENCE
 	},
 	[ALC294_FIXUP_ASUS_INTSPK_HEADSET_MIC] = {
 		.type = HDA_FIXUP_PINS,
-- 
2.17.1




More information about the kernel-team mailing list