]> git.karo-electronics.de Git - karo-tx-linux.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Aug 2012 15:23:14 +0000 (08:23 -0700)
commit41fb99e03f1f46d8d96498bb8553e4034f5c5c8b
tree9c88946c821c4381aa03bb4768f813b28d074699
parent24da61a63c0b48b831f8ed92835da74b265437d1
ALSA: hda - Fix invalid D3 of headphone DAC on VT202x codecs

commit 6162552b0de6ba80937c3dd53e084967851cd199 upstream.

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.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/pci/hda/patch_via.c