[PATCH] AMBA: Use suspend_noriq to force devices into runtime suspend

Russell King - ARM Linux linux at arm.linux.org.uk
Thu Oct 27 11:54:34 EDT 2011


On Thu, Oct 27, 2011 at 05:48:44PM +0200, Ulf Hansson wrote:
> To be able to make sure devices are put into runtime suspend
> after a suspend sequence, the suspend_noirq callback is used.
> 
> Previously it was was possible for drivers doing pm_runtime_suspend
> and pm_runtime_put_sync directly from it's suspend callbacks.
> This is now not possible due to the following commit, which solve a
> race issue:
> 
> PM: Limit race conditions between runtime PM and system sleep (v2)

There's a patch which has been queued for the last 2 months adding
runtime PM support to the AMBA bus layer which is now merged into
mainline.  Please check whether this works for you.



More information about the linux-arm-kernel mailing list