ALSA: hda - Apply ideapad quirk to Acer laptops with Cxt5066
authorTakashi Iwai <tiwai@suse.de>
Thu, 21 Oct 2010 07:57:40 +0000 (09:57 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 21 Oct 2010 07:57:40 +0000 (09:57 +0200)
Multiple Acer laptops with the SSID 1025:04xx require the quirk
mode=ideapad, so let's use mask to apply to all these.

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

index 80cc74bf77a050b45eb25b576e68d87d16334f23..6361f752b5f35cfddff7f8423f0d5d185a9003d8 100644 (file)
@@ -3093,8 +3093,7 @@ static const char *cxt5066_models[CXT5066_MODELS] = {
 };
 
 static struct snd_pci_quirk cxt5066_cfg_tbl[] = {
 };
 
 static struct snd_pci_quirk cxt5066_cfg_tbl[] = {
-       SND_PCI_QUIRK(0x1025, 0x040a, "Acer", CXT5066_IDEAPAD),
-       SND_PCI_QUIRK(0x1025, 0x043d, "Acer", CXT5066_IDEAPAD),
+       SND_PCI_QUIRK_MASK(0x1025, 0xff00, 0x0400, "Acer", CXT5066_IDEAPAD),
        SND_PCI_QUIRK(0x1028, 0x02d8, "Dell Vostro", CXT5066_DELL_VOSTRO),
        SND_PCI_QUIRK(0x1028, 0x02f5, "Dell",
                      CXT5066_DELL_LAPTOP),
        SND_PCI_QUIRK(0x1028, 0x02d8, "Dell Vostro", CXT5066_DELL_VOSTRO),
        SND_PCI_QUIRK(0x1028, 0x02f5, "Dell",
                      CXT5066_DELL_LAPTOP),