linux/sound/pci/hda
Takashi Iwai c7cd0ef66a ALSA: hda - Fix path power activation
The widget power-saving code tries to turn up/down the power of each
widget in the I/O paths that are modified at each jack plug/unplug.
The recent report revealed that the power activation leaves some
widgets unpowered after plugging.  This is because
snd_hda_activate_path() turns on path->active flag at the end of the
function while the path power management is done before that.  Then
it's regarded as if nothing is active, and the driver turns off the
power.

The fix is simply to set the flag at the beginning of the function,
before trying to power up.

Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=102521
Cc: <stable@vger.kernel.org> [v4.1+]
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2015-08-25 07:59:02 +02:00
..
ca0132_regs.h ALSA: hda: ca0132_regs.h: Fix typo in include guard 2014-08-22 11:24:11 +02:00
dell_wmi_helper.c ALSA: hda - add mic mute led hook for dell machines 2014-07-31 09:21:42 +02:00
hda_auto_parser.c ALSA: hda - Move a part of hda_codec stuff into hdac_device 2015-03-23 13:17:17 +01:00
hda_auto_parser.h ALSA: hda - Sort input pins depending on amp caps 2014-09-23 15:57:32 +02:00
hda_beep.c ALSA: hda-beep: Update authors dead email address 2015-06-13 09:13:26 +02:00
hda_beep.h ALSA: hda-beep: Update authors dead email address 2015-06-20 09:24:40 +02:00
hda_bind.c ALSA: hda - Drop unused fields from struct hda_codec_preset 2015-05-28 14:46:55 +02:00
hda_codec.c ALSA: hda: fix possible NULL dereference 2015-08-24 15:02:03 +02:00
hda_codec.h ALSA: hda: Intel: enable automatic runtime pm for HDMI codecs by default 2015-06-09 11:58:37 +02:00
hda_controller_trace.h ALSA: hda - rename hda_intel_trace.h to hda_controller_trace.h 2015-05-18 10:06:32 +02:00
hda_controller.c ALSA: hda - rename hda_intel_trace.h to hda_controller_trace.h 2015-05-18 10:06:32 +02:00
hda_controller.h Merge branch 'topic/hda' into for-next 2015-04-29 12:28:52 +02:00
hda_eld.c ALSA: replace CONFIG_PROC_FS with CONFIG_SND_PROC_FS 2015-05-27 21:25:19 +02:00
hda_generic.c ALSA: hda - Fix path power activation 2015-08-25 07:59:02 +02:00
hda_generic.h ALSA: hda - Fix power of pins used for mute LED with vrefs 2015-03-20 18:30:48 +01:00
hda_hwdep.c ALSA: hda - Add card field to hda_codec struct 2015-03-03 11:25:16 +01:00
hda_intel_trace.h ALSA: hda - add hda_intel_trace.h 2015-05-18 10:06:44 +02:00
hda_intel.c ALSA: hda - Fix race between PM ops and HDA init/probe 2015-07-29 19:37:26 +02:00
hda_intel.h ALSA: hda - Move hda_i915.c from sound/pci/hda to sound/hda 2015-05-20 06:16:36 +02:00
hda_jack.c ALSA: hda - Update to use the new jack kctls method 2015-04-27 21:37:42 +02:00
hda_jack.h ALSA: hda - Update to use the new jack kctls method 2015-04-27 21:37:42 +02:00
hda_local.h Merge branch 'for-linus' into for-next 2015-06-12 08:10:20 +02:00
hda_proc.c ALSA: hda - potential (but unlikely) uninitialized variable 2015-04-17 15:32:17 +02:00
hda_sysfs.c ALSA: hda - Move a part of hda_codec stuff into hdac_device 2015-03-23 13:17:17 +01:00
hda_tegra.c ALSA: hda/tegra - Improve error reporting 2015-05-18 10:03:25 +02:00
Kconfig ALSA: HDAC: move SND_HDA_PREALLOC_SIZE to core 2015-06-16 17:40:38 +02:00
local.h ALSA: hda - Move a part of hda_codec stuff into hdac_device 2015-03-23 13:17:17 +01:00
Makefile ALSA: replace CONFIG_PROC_FS with CONFIG_SND_PROC_FS 2015-05-27 21:25:19 +02:00
patch_analog.c ALSA: hda - Set patch_ops before calling auto-parser 2015-05-29 10:42:14 +02:00
patch_ca0110.c ALSA: hda - Set patch_ops before calling auto-parser 2015-05-29 10:42:14 +02:00
patch_ca0132.c ALSA: hda - Set patch_ops before calling auto-parser 2015-05-29 10:42:14 +02:00
patch_cirrus.c ALSA: hda - fix cs4210_spdif_automute() 2015-07-25 08:19:04 +02:00
patch_cmedia.c ALSA: hda - Set patch_ops before calling auto-parser 2015-05-29 10:42:14 +02:00
patch_conexant.c ALSA: hda - Shutdown CX20722 on reboot/free to avoid spurious noises 2015-08-21 10:28:00 +02:00
patch_hdmi.c ALSA: hda - Add new GPU codec ID 0x10de007d to snd-hda 2015-07-21 09:37:01 +02:00
patch_realtek.c ALSA: hda - Add dock support for Thinkpad W541 (17aa:2211) 2015-08-19 14:59:39 +02:00
patch_si3054.c ALSA: hda - Use regmap for command verb caches, too 2015-03-23 13:19:41 +01:00
patch_sigmatel.c ALSA: hda - Apply fixup for another Toshiba Satellite S50D 2015-07-27 10:18:21 +02:00
patch_via.c ALSA: hda - Disable widget power-save for VIA codecs 2015-06-25 08:48:54 +02:00
thinkpad_helper.c Revert "ALSA: hda - Add mute-LED mode control to Thinkpad" 2015-05-24 08:32:37 +02:00