From: Takashi Iwai Date: Tue, 15 May 2012 06:07:31 +0000 (+0200) Subject: ALSA: hda/idt - Fix power-map for speaker-pins with some HP laptops X-Git-Tag: v3.4~22^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b0791dda813c179e539b0fc1ecd3f5f30f2571e2;p=pandora-kernel.git 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: [v3.2+] Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed