]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda - Fix silent headphone on Thinkpads with AD1984A codec
authorTakashi Iwai <tiwai@suse.de>
Fri, 25 Oct 2013 22:24:14 +0000 (00:24 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 25 Oct 2013 22:30:32 +0000 (00:30 +0200)
commit7d55ae7cf607281a916a1c9e5fd54087391b4fda
treea92d372723116b248dccd0a442389e65178f80c0
parent33fdbfefd4f54b49e7fb75a80ee52ba82ff3dd94
ALSA: hda - Fix silent headphone on Thinkpads with AD1984A codec

AD1984A codec has a couple of pins with EAPD controls, and the generic
codec driver tries to turn each of them on/off depending on the pin
active state.  However, Thinkpads seem to use EAPD of the speaker pin
as a master EAPD for controlling the mute of all outputs, including
the headphone.  This results in the dead headphone output via the
headphone plugging because it mutes the speaker and turns off EAPD.

The fix is to simply add spec->gen.keep_on_eapd flag.

[This is a regression fix on 3.12 where we moved the AD codec parser
 to the generic parser.  3.11 and earlier didn't show this problem
 because still static quirks have been used.]

Reported-and-tested-by: Vito Caputo <vcaputo@gnugeneration.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_analog.c