Sfoglia il codice sorgente

ALSA: hda - Apply ALC269 VAIO fix-up to all Sony laptops with ALC269

We've applied a fix-up for ALC269 VAIO only for two models.  But all
Sony VAIO models with ALC269 codec seem to require the similar fix.
Let's apply it with vendor-id mask.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Takashi Iwai 14 anni fa
parent
commit
abdd8f5106
1 ha cambiato i file con 1 aggiunte e 2 eliminazioni
  1. 1 2
      sound/pci/hda/patch_realtek.c

+ 1 - 2
sound/pci/hda/patch_realtek.c

@@ -14731,8 +14731,7 @@ static const struct alc_fixup alc269_fixups[] = {
 };
 
 static struct snd_pci_quirk alc269_fixup_tbl[] = {
-	SND_PCI_QUIRK(0x104d, 0x9071, "Sony VAIO", ALC269_FIXUP_SONY_VAIO),
-	SND_PCI_QUIRK(0x104d, 0x9077, "Sony VAIO", ALC269_FIXUP_SONY_VAIO),
+	SND_PCI_QUIRK_VENDOR(0x104d, "Sony VAIO", ALC269_FIXUP_SONY_VAIO),
 	SND_PCI_QUIRK(0x1028, 0x0470, "Dell M101z", ALC269_FIXUP_DELL_M101Z),
 	{}
 };