]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ALSA: hda - Workaround for silent output on Sony Vaio VGC-LN51JGB with ALC889
authorFernando Luis Vázquez Cao <fernando_b1@lab.ntt.co.jp>
Tue, 12 Feb 2013 07:47:44 +0000 (16:47 +0900)
committerTakashi Iwai <tiwai@suse.de>
Tue, 12 Feb 2013 09:11:01 +0000 (10:11 +0100)
Some Vaio all-in-one desktop PCs (for example VGC-LN51JGB) are affected by
the same issue that caused Vaio Z laptops to become silent: the speaker pin
must be connected to the first DAC even though the codec itself advertises
flexible routing through any of the DACs.

Use the no-primary-hp fixup for choosing the speaker pin as the primary so
that the right DAC is assigned on this device.

Cc: stable@vger.kernel.org
Signed-off-by: Fernando Luis Vazquez Cao <fernando@oss.ntt.co.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_realtek.c

index de512c52fa96b960dc8b61fb67f31810bf74c04c..9eaa8b163952ebecd7b8451610e1352a637b99c8 100644 (file)
@@ -2037,6 +2037,7 @@ static const struct snd_pci_quirk alc882_fixup_tbl[] = {
        SND_PCI_QUIRK(0x1043, 0x835f, "Asus Eee 1601", ALC888_FIXUP_EEE1601),
        SND_PCI_QUIRK(0x104d, 0x9047, "Sony Vaio TT", ALC889_FIXUP_VAIO_TT),
        SND_PCI_QUIRK(0x104d, 0x905a, "Sony Vaio Z", ALC882_FIXUP_NO_PRIMARY_HP),
+       SND_PCI_QUIRK(0x104d, 0x9043, "Sony Vaio VGC-LN51JGB", ALC882_FIXUP_NO_PRIMARY_HP),
 
        /* All Apple entries are in codec SSIDs */
        SND_PCI_QUIRK(0x106b, 0x00a0, "MacBookPro 3,1", ALC889_FIXUP_MBP_VREF),