]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commitdiff
ALSA: HDA: Fix automute for Gateway NV79
authorDavid Henningsson <david.henningsson@canonical.com>
Fri, 29 Apr 2011 12:10:55 +0000 (14:10 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 29 Apr 2011 12:19:31 +0000 (14:19 +0200)
The PCI SSID is 1025:031c and the codec SSID is 1025:031d,
so the driver mistakes this for a SKU value, but looking at
the numbers, this is obviously wrong.

Cc: stable@kernel.org (2.6.38+)
BugLink: http://bugs.launchpad.net/bugs/761861
Signed-off-by: David Henningsson <david.henningsson@canonical.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_realtek.c

index 07352224cee9fdda3e1ca7b16cfc8908bb4e4c18..5c26c713e17b45ebeb0cbd9a7d368980788cf660 100644 (file)
@@ -19480,6 +19480,7 @@ enum {
        ALC272_FIXUP_MARIO,
        ALC662_FIXUP_CZC_P10T,
        ALC662_FIXUP_GIGABYTE,
+       ALC662_FIXUP_SKU_IGNORE,
 };
 
 static const struct alc_fixup alc662_fixups[] = {
@@ -19515,10 +19516,15 @@ static const struct alc_fixup alc662_fixups[] = {
                        { }
                }
        },
+       [ALC662_FIXUP_SKU_IGNORE] = {
+               .type = ALC_FIXUP_SKU,
+               .v.sku = ALC_FIXUP_SKU_IGNORE,
+       },
 };
 
 static struct snd_pci_quirk alc662_fixup_tbl[] = {
        SND_PCI_QUIRK(0x1025, 0x0308, "Acer Aspire 8942G", ALC662_FIXUP_ASPIRE),
+       SND_PCI_QUIRK(0x1025, 0x031c, "Gateway NV79", ALC662_FIXUP_SKU_IGNORE),
        SND_PCI_QUIRK(0x1025, 0x038b, "Acer Aspire 8943G", ALC662_FIXUP_ASPIRE),
        SND_PCI_QUIRK(0x144d, 0xc051, "Samsung R720", ALC662_FIXUP_IDEAPAD),
        SND_PCI_QUIRK(0x1458, 0xa002, "Gigabyte", ALC662_FIXUP_GIGABYTE),