Re: pci_pm_runtime_suspend(): azx_runtime_suspend+0x0/0x50[snd_hda_intel] returns -11

From: Borislav Petkov
Date: Wed Dec 12 2012 - 07:13:37 EST


On Wed, Dec 12, 2012 at 11:58:41AM +0100, Takashi Iwai wrote:
> Borislav, could you test the patch below?

[ â ]

> From: Takashi Iwai <tiwai@xxxxxxx>
> Subject: [PATCH] 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-by: Borislav Petkov <bp@xxxxxxxxx>

-and-tested-by: ...

Thanks Takashi.

--
Regards/Gruss,
Boris.

Sent from a fat crate under my desk. Formatting is fine.
--
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/