ALSA: hda - Add pin quirk for Dell XPS 15
authorDavid Henningsson <david.henningsson@canonical.com>
Tue, 24 Jun 2014 12:10:47 +0000 (14:10 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 24 Jun 2014 12:16:15 +0000 (14:16 +0200)
Two bug reporters with Dell XPS 15 report that they need to use the
dell-headset-multi model to get the headset mic working.

The two bug reporters have different PCI SSID (1028:05fd and 1028:05fe)
but this pin quirk matches both.

BugLink: https://bugs.launchpad.net/bugs/1331915
Signed-off-by: David Henningsson <david.henningsson@canonical.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_realtek.c

index af76995..a153d64 100644 (file)
@@ -6123,6 +6123,27 @@ static const struct snd_hda_pin_quirk alc662_pin_fixup_tbl[] = {
                },
                .value = ALC668_FIXUP_AUTO_MUTE,
        },
+       {
+               .codec = 0x10ec0668,
+               .subvendor = 0x1028,
+#ifdef CONFIG_SND_DEBUG_VERBOSE
+               .name = "Dell XPS 15",
+#endif
+               .pins = (const struct hda_pintbl[]) {
+                       {0x12, 0x90a60130},
+                       {0x14, 0x90170110},
+                       {0x15, 0x0321101f},
+                       {0x16, 0x40000000},
+                       {0x18, 0x411111f0},
+                       {0x19, 0x411111f0},
+                       {0x1a, 0x411111f0},
+                       {0x1b, 0x411111f0},
+                       {0x1d, 0x40d6832d},
+                       {0x1e, 0x411111f0},
+                       {0x1f, 0x411111f0},
+               },
+               .value = ALC668_FIXUP_AUTO_MUTE,
+       },
        {}
 };