]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ALSA: hda - Workaround for silent output on VAIO Z with ALC889
authorTakashi Iwai <tiwai@suse.de>
Thu, 20 Sep 2012 05:44:11 +0000 (07:44 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 2 Oct 2012 17:39:00 +0000 (10:39 -0700)
commitfd7e78f57986f831eb0530e6c191eef9982781c3
tree2b673dad7a8b3fafaf7c62a98a18cb7fa9044165
parent3b536d48a7ac408ed9c448e524ad6de22dd1b466
ALSA: hda - Workaround for silent output on VAIO Z with ALC889

commit e427c2375646789ecd0ccaef1a1e41458559ab2d upstream.

On recent kernels, Realtek codec parser tries to optimize the routing
aggressively and take the headphone output as primary at first.  This
caused a regression on VAIO Z with ALC889, the silent output from the
speaker.

The problem seems that the speaker pin must be connected to the first
DAC (0x02) on this machine by some reason although the codec itself
advertises the flexible routing with any DACs.

This patch adds a fix-up for choosing the speaker pin as the primary
so that the right DAC is assigned on this device.

Reported-and-tested-by: Adam Williamson <awilliam@redhat.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/sound/alsa/HD-Audio-Models.txt
sound/pci/hda/patch_realtek.c