ALSA: hda - Workaround for silent output on Sony Vaio VGC-LN51JGB with ALC889
authorFernando Luis Vazquez Cao <fernando@oss.ntt.co.jp>
Tue, 12 Feb 2013 07:47:44 +0000 (16:47 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 28 Feb 2013 14:59:02 +0000 (06:59 -0800)
commit7e8b41d605b06c68a7df890e34cb560d837e87ac
treee7c181762bccea3fe94660069a66b51e9b9d03f3
parent63b2afe91cef7d844ea07a1ad17be63ded94e8ca
ALSA: hda - Workaround for silent output on Sony Vaio VGC-LN51JGB with ALC889

commit 12e31a78c70dc12897fda2489113f445c0e94a18 upstream.

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.

Signed-off-by: Fernando Luis Vazquez Cao <fernando@oss.ntt.co.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/pci/hda/patch_realtek.c