]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 21 May 2012 17:46:17 +0000 (10:46 -0700)
commit3ffea7c7b3f291da82b3a2312199b893669ab0ef
tree99dbee1157b1f16e9dbbe971a6efbf1487f04c3c
parent9575e19d8da3a5074c10f45dd3cc6a7007dd4419
ALSA: hda/idt - Fix power-map for speaker-pins with some HP laptops

commit b0791dda813c179e539b0fc1ecd3f5f30f2571e2 upstream.

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

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