]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda - Fix invalid D3 of headphone DAC on VT202x codecs
authorTakashi Iwai <tiwai@suse.de>
Wed, 25 Jul 2012 11:54:55 +0000 (13:54 +0200)
committerTakashi Iwai <tiwai@suse.de>
Wed, 25 Jul 2012 11:55:49 +0000 (13:55 +0200)
commitea64567aeeef98f9b38d38e8c882c616c209998a
tree385dd2142fc3b206e839a2132288e251a43051e1
parent7a86a8c283f64faedd3028773f70045224c81bf7
ALSA: hda - Fix invalid D3 of headphone DAC on VT202x codecs

We've got a bug report about the silent output from the headphone on a
mobo with VT2021, and spotted out that this was because of the wrong
D3 state on the DAC for the headphone output.  The bug is triggered by
the incomplete check for this DAC in set_widgets_power_state_vt1718S().
It checks only the connectivity of the primary output (0x27) but
doesn't consider the path from the headphone pin (0x28).

Now this patch fixes the problem by checking both pins for DAC 0x0b.

Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_via.c