Skip to content
Commit 6eb827d2 authored by Takashi Iwai's avatar Takashi Iwai
Browse files

ALSA: hda - Move runtime PM check to runtime_idle callback



The runtime_idle callback is the right place to check the suspend
capability, but currently we do it wrongly in the runtime_suspend
callback.  This leads to a kernel error message like:
   pci_pm_runtime_suspend(): azx_runtime_suspend+0x0/0x50 [snd_hda_intel] returns -11
and the runtime PM core would even repeat the attempts.

Reported-and-tested-by: default avatarBorislav Petkov <bp@alien8.de>
Cc: <stable@vger.kernel.org> [v3.7]
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 63a077e2
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment