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>
Wed, 27 Feb 2013 17:21:11 +0000 (09:21 -0800)
commit3eb1912b8557cff58a1fd1497cc4908a0af7fbc3
treed3572169ec059482e51b3afad7bedef6201d9705
parent97acde03f1aeaf0470ad481e49a6171a6a025e30
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