ALSA: hda - Provide missing pin configs for VAIO with ALC260

Some models (or maybe depending on BIOS version) of Sony VAIO with
ALC260 give no proper pin configurations as default, resulting in the
non-working speaker, etc. Just provide the whole pin configurations
via a fixup.

Reported-by: Matthew Markus <mmarkus@hearit.co>
Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>

Changed files
+20
sound
pci
+20
sound/pci/hda/patch_realtek.c
··· 1512 1512 ALC260_FIXUP_KN1, 1513 1513 ALC260_FIXUP_FSC_S7020, 1514 1514 ALC260_FIXUP_FSC_S7020_JWSE, 1515 + ALC260_FIXUP_VAIO_PINS, 1515 1516 }; 1516 1517 1517 1518 static void alc260_gpio1_automute(struct hda_codec *codec) ··· 1653 1652 .chained = true, 1654 1653 .chain_id = ALC260_FIXUP_FSC_S7020, 1655 1654 }, 1655 + [ALC260_FIXUP_VAIO_PINS] = { 1656 + .type = HDA_FIXUP_PINS, 1657 + .v.pins = (const struct hda_pintbl[]) { 1658 + /* Pin configs are missing completely on some VAIOs */ 1659 + { 0x0f, 0x01211020 }, 1660 + { 0x10, 0x0001003f }, 1661 + { 0x11, 0x411111f0 }, 1662 + { 0x12, 0x01a15930 }, 1663 + { 0x13, 0x411111f0 }, 1664 + { 0x14, 0x411111f0 }, 1665 + { 0x15, 0x411111f0 }, 1666 + { 0x16, 0x411111f0 }, 1667 + { 0x17, 0x411111f0 }, 1668 + { 0x18, 0x411111f0 }, 1669 + { 0x19, 0x411111f0 }, 1670 + { } 1671 + } 1672 + }, 1656 1673 }; 1657 1674 1658 1675 static const struct snd_pci_quirk alc260_fixup_tbl[] = { ··· 1679 1660 SND_PCI_QUIRK(0x1025, 0x008f, "Acer", ALC260_FIXUP_GPIO1), 1680 1661 SND_PCI_QUIRK(0x103c, 0x280a, "HP dc5750", ALC260_FIXUP_HP_DC5750), 1681 1662 SND_PCI_QUIRK(0x103c, 0x30ba, "HP Presario B1900", ALC260_FIXUP_HP_B1900), 1663 + SND_PCI_QUIRK(0x104d, 0x81bb, "Sony VAIO", ALC260_FIXUP_VAIO_PINS), 1682 1664 SND_PCI_QUIRK(0x104d, 0x81e2, "Sony VAIO TX", ALC260_FIXUP_HP_PIN_0F), 1683 1665 SND_PCI_QUIRK(0x10cf, 0x1326, "FSC LifeBook S7020", ALC260_FIXUP_FSC_S7020), 1684 1666 SND_PCI_QUIRK(0x1509, 0x4540, "Favorit 100XS", ALC260_FIXUP_GPIO1),