[linux-oem][PATCH 3/4] UBUNTU: SAUCE: ALSA: hda/realtek - Add support headset mode for DELL WYSE
Wen-chien Jesse Sung
jesse.sung at canonical.com
Thu Mar 8 03:17:26 UTC 2018
From: Kailang Yang <kailang at realtek.com>
BugLink: https://launchpad.net/bugs/1744058
Enable headset mode support for WYSE(0x080c) platform.
Signed-off-by: Kailang Yang <kailang at realtek.com>
(backported from Kailang Yang's patch)
Signed-off-by: Wen-chien Jesse Sung <jesse.sung at canonical.com>
Acked-by: Hui Wang<hui.wang at canonical.com>
Acked-by: Aaron Ma <aaron.ma at canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously at canonical.com>
(cherry picked from commit 3fc8d1dd2c83f3d988846b48b6dd17f6a0d9b68d)
Signed-off-by: Wen-chien Jesse Sung <jesse.sung at canonical.com>
---
sound/pci/hda/patch_realtek.c | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index f39027698738..ea7340602228 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -5311,6 +5311,7 @@ enum {
ALC294_FIXUP_LENOVO_MIC_LOCATION,
ALC274_FIXUP_DELL_BIND_DACS,
ALC274_FIXUP_DELL_AIO_LINEOUT_VERB,
+ ALC225_FIXUP_DELL_WYSE_MIC_NO_PRESENCE,
};
static const struct hda_fixup alc269_fixups[] = {
@@ -6121,6 +6122,18 @@ static const struct hda_fixup alc269_fixups[] = {
.chained = true,
.chain_id = ALC274_FIXUP_DELL_BIND_DACS
},
+ [ALC225_FIXUP_DELL_WYSE_MIC_NO_PRESENCE] = {
+ .type = HDA_FIXUP_PINS,
+ .v.pins = (const struct hda_pintbl[]) {
+ { 0x16, 0x0101102f }, /* Rear Headset HP */
+ { 0x19, 0x02a1913c }, /* use as Front headset mic, without its own jack detect */
+ { 0x1a, 0x01a19030 }, /* Rear Headset MIC */
+ { 0x1b, 0x02011020 },
+ { }
+ },
+ .chained = true,
+ .chain_id = ALC269_FIXUP_HEADSET_MODE_NO_HP_MIC
+ },
};
static const struct snd_pci_quirk alc269_fixup_tbl[] = {
@@ -6170,6 +6183,7 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = {
SND_PCI_QUIRK(0x1028, 0x075b, "Dell XPS 13 9360", ALC256_FIXUP_DELL_XPS_13_HEADPHONE_NOISE),
SND_PCI_QUIRK(0x1028, 0x075d, "Dell AIO", ALC298_FIXUP_SPK_VOLUME),
SND_PCI_QUIRK(0x1028, 0x0798, "Dell Inspiron 17 7000 Gaming", ALC256_FIXUP_DELL_INSPIRON_7559_SUBWOOFER),
+ SND_PCI_QUIRK(0x1028, 0x080c, "Dell WYSE", ALC225_FIXUP_DELL_WYSE_MIC_NO_PRESENCE),
SND_PCI_QUIRK(0x1028, 0x164a, "Dell", ALC293_FIXUP_DELL1_MIC_NO_PRESENCE),
SND_PCI_QUIRK(0x1028, 0x164b, "Dell", ALC293_FIXUP_DELL1_MIC_NO_PRESENCE),
SND_PCI_QUIRK(0x103c, 0x1586, "HP", ALC269_FIXUP_HP_MUTE_LED_MIC2),
--
2.14.1
More information about the kernel-team
mailing list