ALSA: hda - Workaround for silent output on VAIO Z with ALC889
authorTakashi Iwai <tiwai@suse.de>
Sun, 29 Jul 2012 08:04:08 +0000 (10:04 +0200)
committerTakashi Iwai <tiwai@suse.de>
Sun, 29 Jul 2012 08:06:19 +0000 (10:06 +0200)
commite427c2375646789ecd0ccaef1a1e41458559ab2d
treeba3fb66aa08d5d9a16e018c9fbefafee2e63a428
parentc4bfe94a8b0670a272d3f7092cc8533bb047e33a
ALSA: hda - Workaround for silent output on VAIO Z with ALC889

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>
Documentation/sound/alsa/HD-Audio-Models.txt
sound/pci/hda/patch_realtek.c