summaryrefslogtreecommitdiff
path: root/kernel/printk
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2013-11-20 11:15:07 (GMT)
committerTakashi Iwai <tiwai@suse.de>2013-11-20 15:39:14 (GMT)
commit0fc28fc030a85aa3d6d14e9e9fca0c8237c9ffb5 (patch)
treecdc1aa54ea11813b005be3be65a4a103b977558b /kernel/printk
parent09d2014fb0c6bcd0bf60f46e890907facd25d22c (diff)
downloadlinux-fsl-qoriq-0fc28fc030a85aa3d6d14e9e9fca0c8237c9ffb5.tar.xz
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>
Diffstat (limited to 'kernel/printk')
0 files changed, 0 insertions, 0 deletions