This is a note to let you know that I've just added the patch titled
ALSA: hda - Fix invalid D3 of headphone DAC on VT202x codecs
to the 3.4-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
alsa-hda-fix-invalid-d3-of-headphone-dac-on-vt202x-codecs.patch
and it can be found in the queue-3.4 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree,
please let <[email protected]> know about it.
>From 6162552b0de6ba80937c3dd53e084967851cd199 Mon Sep 17 00:00:00 2001
From: Takashi Iwai <[email protected]>
Date: Wed, 25 Jul 2012 13:54:55 +0200
Subject: ALSA: hda - Fix invalid D3 of headphone DAC on VT202x codecs
From: Takashi Iwai <[email protected]>
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 <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
---
sound/pci/hda/patch_via.c | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
--- a/sound/pci/hda/patch_via.c
+++ b/sound/pci/hda/patch_via.c
@@ -3233,7 +3233,7 @@ static void set_widgets_power_state_vt17
{
struct via_spec *spec = codec->spec;
int imux_is_smixer;
- unsigned int parm;
+ unsigned int parm, parm2;
/* MUX6 (1eh) = stereo mixer */
imux_is_smixer =
snd_hda_codec_read(codec, 0x1e, 0, AC_VERB_GET_CONNECT_SEL, 0x00) == 5;
@@ -3256,7 +3256,7 @@ static void set_widgets_power_state_vt17
parm = AC_PWRST_D3;
set_pin_power_state(codec, 0x27, &parm);
update_power_state(codec, 0x1a, parm);
- update_power_state(codec, 0xb, parm);
+ parm2 = parm; /* for pin 0x0b */
/* PW2 (26h), AOW2 (ah) */
parm = AC_PWRST_D3;
@@ -3271,6 +3271,9 @@ static void set_widgets_power_state_vt17
if (!spec->hp_independent_mode) /* check for redirected HP */
set_pin_power_state(codec, 0x28, &parm);
update_power_state(codec, 0x8, parm);
+ if (!spec->hp_independent_mode && parm2 != AC_PWRST_D3)
+ parm = parm2;
+ update_power_state(codec, 0xb, parm);
/* MW9 (21h), Mw2 (1ah), AOW0 (8h) */
update_power_state(codec, 0x21, imux_is_smixer ? AC_PWRST_D0 : parm);
Patches currently in stable-queue which might be from [email protected] are
queue-3.4/alsa-mpu401-fix-missing-initialization-of-irq-field.patch
queue-3.4/alsa-hda-fix-mute-led-gpio-setup-for-hp-mini-210.patch
queue-3.4/alsa-hda-add-dock-support-for-thinkpad-x230-tablet.patch
queue-3.4/alsa-hda-add-support-for-realtek-alc282.patch
queue-3.4/alsa-hda-fix-polarity-of-mute-led-on-hp-mini-210.patch
queue-3.4/alsa-snd-usb-fix-clock-source-validity-index.patch
queue-3.4/alsa-hda-fix-mute-led-gpio-initialization-for-idt-codecs.patch
queue-3.4/alsa-hda-fix-invalid-d3-of-headphone-dac-on-vt202x-codecs.patch
queue-3.4/alsa-hda-support-dock-on-lenovo-thinkpad-t530-with-alc269vc.patch
queue-3.4/alsa-hda-turn-on-pin_out-from-hdmi-playback-prepare.patch
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html