linux/sound/pci/hda
Takashi Iwai 0fc28fc030 ALSA: hda - Fix unbalanced runtime PM notification at resume
When a codec is resumed, it keeps the power on while the resuming
phase via hda_keep_power_on(), then turns down via
snd_hda_power_down().  At that point, snd_hda_power_down() notifies
the power down to the controller, and this may confuse the refcount if
the codec was already powered up before the resume.

In the end result, the controller goes to runtime suspend even before
the codec is kicked off to the power save, and the communication
stalls happens.

The fix is to add the power-up notification together with
hda_keep_power_on(), and clears the flag appropriately.

Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2013-11-20 16:39:14 +01:00
..
ca0132_regs.h ALSA: hda/ca0132 - Fix type of INVALID_CHIP_ADDRESS 2013-02-12 10:15:15 +01:00
hda_auto_parser.c ALSA: hda - Fix possible NULL dereference in snd_hda_get_pin_label() 2013-10-29 11:37:19 +01:00
hda_auto_parser.h ALSA: hda - add some small convenience functions to auto parser 2013-04-11 11:59:27 +02:00
hda_beep.c ALSA: hda - Add a fallthru comment 2013-10-29 11:37:23 +01:00
hda_beep.h ALSA: hda - Fix power-saving during playing beep sound 2013-03-18 12:58:47 +01:00
hda_codec.c ALSA: hda - Fix unbalanced runtime PM notification at resume 2013-11-20 16:39:14 +01:00
hda_codec.h ALSA: hda - Fix mute LED on HP laptops in runtime suspend 2013-10-24 11:37:33 +02:00
hda_eld.c ALSA: hda - hdmi: Fix wrong baseline length in ATI/AMD generated ELD 2013-11-11 17:08:39 +01:00
hda_generic.c ALSA: hda - Check keep_eapd_on before inv_eapd 2013-11-12 11:36:00 +01:00
hda_generic.h ALSA: hda - Introduce the bitmask for excluding output volume 2013-11-05 07:49:41 +01:00
hda_hwdep.c ALSA: replace strict_strto*() with kstrto*() 2013-07-21 11:56:18 +02:00
hda_i915.c ALSA: hda - Add power-welll support for haswell HDA 2013-06-06 17:31:56 +02:00
hda_i915.h ALSA: hda - Add power-welll support for haswell HDA 2013-06-06 17:31:56 +02:00
hda_intel_trace.h ALSA: hda - Add tracepoints to HD-audio controller driver 2012-10-30 10:39:59 +01:00
hda_intel.c ALSA: hda_intel: ratelimit "spurious response" message 2013-11-07 21:22:23 +01:00
hda_jack.c ALSA: hda - Add a block_report flag to jacks 2013-11-07 14:03:17 +01:00
hda_jack.h ALSA: hda - Add a block_report flag to jacks 2013-11-07 14:03:17 +01:00
hda_local.h ALSA: hda - hdmi: Add ELD emulation for ATI/AMD codecs 2013-10-24 22:54:13 +02:00
hda_proc.c ALSA: hda - add device list & select info of display pins to codec proc file 2013-08-27 12:15:17 +02:00
hda_trace.h ALSA: hda - Clean up CONFIG_SND_HDA_POWER_SAVE 2012-08-30 07:50:13 -07:00
Kconfig ALSA: hda - Select FW_LOADER from CONFIG_SND_HDA_CODEC_CA0132_DSP 2013-11-18 17:12:34 +01:00
Makefile ALSA: hda - Add power-welll support for haswell HDA 2013-06-06 17:31:56 +02:00
patch_analog.c ALSA: hda - Control EAPD for Master volume on Lenovo N100 2013-11-13 09:44:33 +01:00
patch_ca0110.c ALSA: hda - Remove superfluous header inclusions 2013-01-21 16:10:56 +01:00
patch_ca0132.c ALSA: hda/ca0132: Staticize codec_send_command 2013-09-13 14:36:32 +02:00
patch_cirrus.c ALSA: hda - Control SPDIF out pin on MacBookPro 11,2 2013-11-11 16:22:04 +01:00
patch_cmedia.c ALSA: hda - Remove superfluous header inclusions 2013-01-21 16:10:56 +01:00
patch_conexant.c ALSA: hda - Add support for CX20952 2013-11-07 07:35:26 +01:00
patch_hdmi.c ALSA: hda - hdmi: Add error-checking to some codec reads 2013-11-11 17:07:49 +01:00
patch_realtek.c ALSA: hda - A casual Dell Headset quirk 2013-11-20 12:59:32 +01: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 - load EQ params into IDT codec on HP bNB13 systems 2013-11-15 11:57:54 +01:00
patch_via.c ALSA: hda - Clearing jackpoll_interval avoid pending work 2013-07-29 14:19:03 +02:00