]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda/idt - Fix power-map for speaker-pins with some HP laptops
authorTakashi Iwai <tiwai@suse.de>
Tue, 15 May 2012 06:07:31 +0000 (08:07 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 15 May 2012 06:14:36 +0000 (08:14 +0200)
commit81e2d0da1df92c33550fd20693283081718d2dbb
tree5367c2614c4620301584a5d4eb6becc64494b618
parenta55eeb9d0cbf039ba7ca77e34b4837fa575db570
ALSA: hda/idt - Fix power-map for speaker-pins with some HP laptops

BIOS on some HP laptops don't set the speaker-pins as fixed but expose
as jacks, and this confuses the driver as if these pins are
jack-detectable.  As a result, the machine doesn't get sounds from
speakers because the driver prepares the power-map update via jack
unsol events which never come up in reality.  The bug was introduced
in some time in 3.2 for enabling the power-mapping feature.

This patch fixes the problem by replacing the check of the persistent
power-map bits with a proper is_jack_detectable() call.

Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=43240

Cc: <stable@vger.kernel.org> [v3.2+]
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_sigmatel.c