ALSA: hda - Clean up quirks for HP laptops with AD1984A
authorTakashi Iwai <tiwai@suse.de>
Mon, 16 Feb 2009 14:20:41 +0000 (15:20 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 16 Feb 2009 14:20:41 +0000 (15:20 +0100)
Clean up quirks for HP laptops with AD1984A using SND_PCI_QUIRK_MASK()

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_analog.c

index af6b0035e2e84b41ec237703586f12b65de33ce4..2c58d7b05aba3d8bd2f751f1a940ffdd14bc9301 100644 (file)
@@ -3923,8 +3923,7 @@ static struct snd_pci_quirk ad1884a_cfg_tbl[] = {
        SND_PCI_QUIRK(0x103c, 0x3030, "HP", AD1884A_MOBILE),
        SND_PCI_QUIRK(0x103c, 0x3037, "HP 2230s", AD1884A_LAPTOP),
        SND_PCI_QUIRK(0x103c, 0x3056, "HP", AD1884A_MOBILE),
-       SND_PCI_QUIRK(0x103c, 0x3072, "HP", AD1884A_LAPTOP),
-       SND_PCI_QUIRK(0x103c, 0x3077, "HP", AD1884A_LAPTOP),
+       SND_PCI_QUIRK_MASK(0x103c, 0xfff0, 0x3070, "HP", AD1884A_MOBILE),
        SND_PCI_QUIRK(0x103c, 0x30e6, "HP 6730b", AD1884A_LAPTOP),
        SND_PCI_QUIRK(0x103c, 0x30e7, "HP EliteBook 8530p", AD1884A_LAPTOP),
        SND_PCI_QUIRK(0x103c, 0x3614, "HP 6730s", AD1884A_LAPTOP),