diff mbox series

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

Message ID 20200103024319.6284-2-hui.wang@canonical.com
State Accepted
Headers show
Series alsa/hda/realtek: chain a fixup to an existing quirk to fix the heaset-mic problem on 2 Dell machines | expand

Commit Message

Hui Wang Jan. 3, 2020, 2:43 a.m. UTC
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@canonical.com>
---
 sound/pci/hda/patch_realtek.c | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

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,