]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita208c06a88fabff45976f2b3dbcdfcf9070c07ed
treeba3fb66aa08d5d9a16e018c9fbefafee2e63a428
parenta580b943fd12deb99034c223112f857eb1c4082a
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