diff options
author | Takashi Iwai <tiwai@suse.de> | 2012-12-12 11:50:12 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2012-12-12 14:22:13 +0100 |
commit | 6eb827d23577a4efec2b10a9c4cc9ded268a1d1c (patch) | |
tree | 15da2e13f08a9f56215397ebea3cd60b7c1dfd6c /arch/arm/mach-s5p64x0/mach-smdk6450.c | |
parent | 63a077e27648b4043b1ca1b4e29f0c42d99616b6 (diff) | |
download | blackbird-op-linux-6eb827d23577a4efec2b10a9c4cc9ded268a1d1c.tar.gz blackbird-op-linux-6eb827d23577a4efec2b10a9c4cc9ded268a1d1c.zip |
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: Borislav Petkov <bp@alien8.de>
Cc: <stable@vger.kernel.org> [v3.7]
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'arch/arm/mach-s5p64x0/mach-smdk6450.c')
0 files changed, 0 insertions, 0 deletions