linux/sound/pci/hda
Takashi Iwai b0791dda81 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>
2012-05-15 08:14:36 +02:00
..
Kconfig ALSA: Introduce common helper functions for jack-detection control 2011-11-16 11:14:03 +01:00
Makefile ALSA: hda - Cache the jack-detection value 2011-11-16 11:11:15 +01:00
hda_beep.c sound: Add export.h for THIS_MODULE/EXPORT_SYMBOL where needed 2011-10-31 19:31:22 -04:00
hda_beep.h ALSA: hda - Fix missing static inline to beep dummy function 2011-06-14 08:14:32 +02:00
hda_codec.c Revert "ALSA: hda - Set codec to D3 forcibly even if not used" 2012-05-08 16:35:42 +02:00
hda_codec.h ALSA: hda - Fix proc output for ADC amp values of CX20549 2012-04-07 12:25:02 +02:00
hda_eld.c ALSA: hda - hide HDMI/ELD printks unless snd.debug=2 2012-04-10 14:53:55 +02:00
hda_generic.c sound: Add export.h for THIS_MODULE/EXPORT_SYMBOL where needed 2011-10-31 19:31:22 -04:00
hda_hwdep.c Merge branch 'modsplit-Oct31_2011' of git://git.kernel.org/pub/scm/linux/kernel/git/paulg/linux 2011-11-06 19:44:47 -08:00
hda_intel.c ALSA: HDA: Lessen CPU usage when waiting for chip to respond 2012-05-09 10:22:06 +02:00
hda_jack.c ALSA: hda - Add codec->no_jack_detect flag 2012-02-13 12:06:09 +01:00
hda_jack.h ALSA: hda - Make is_jack_detectable() as non-inlined 2012-02-13 12:06:03 +01:00
hda_local.h ALSA: hda - Add expose_enum_ctl flag to snd_hda_add_vmaster_hook() 2012-03-13 07:55:10 +01:00
hda_proc.c ALSA: hda - Fix proc output for ADC amp values of CX20549 2012-04-07 12:25:02 +02:00
hda_trace.h ALSA: hda - Add tracepoint for unsolicited events 2011-08-09 14:24:17 +02:00
patch_analog.c ALSA: hda - Return the created kcontrol in __snd_hda_add_vmaster() 2012-03-12 14:52:28 +01:00
patch_ca0110.c ALSA: hda - Give more unique names by snd_hda_get_pin_label() 2011-11-16 15:48:23 +01:00
patch_ca0132.c ALSA: hda - Fix error handling in patch_ca0132.c 2012-02-07 11:05:07 +01:00
patch_cirrus.c ALSA: hda - Kill hyphenated names 2012-03-02 08:59:23 +01:00
patch_cmedia.c sound: Add module.h to the previously silent sound users 2011-10-31 19:31:21 -04:00
patch_conexant.c Merge branch 'fix/cxt-stable' into fix/hda 2012-04-19 17:13:03 +02:00
patch_hdmi.c ALSA: hda - hide HDMI/ELD printks unless snd.debug=2 2012-04-10 14:53:55 +02:00
patch_realtek.c ALSA: hda/realtek - Call alc_auto_parse_customize_define() always after fixup 2012-05-08 14:10:31 +02:00
patch_si3054.c sound: Add module.h to the previously silent sound users 2011-10-31 19:31:21 -04:00
patch_sigmatel.c ALSA: hda/idt - Fix power-map for speaker-pins with some HP laptops 2012-05-15 08:14:36 +02:00
patch_via.c ALSA: hda/via - Add a few sanity checks 2012-02-22 12:36:06 +01:00