[PATCH 1/2] spi:pl022: Disable/Enable functional clock from suspend/resume
broonie at opensource.wolfsonmicro.com
Wed Sep 26 08:19:46 EDT 2012
On Wed, Sep 26, 2012 at 02:17:36PM +0200, Linus Walleij wrote:
> On Wed, Sep 26, 2012 at 1:24 PM, Vipul Kumar Samar
> > SPI functional clock must be disalble/enable in non RTPM suspend/resume
> > hooks. Currently it is only done for RTPM cases.
> > This patch add support to disable/enbale clock for conventional
> > suspend/resume calls.
> Cross dependency between runtime suspend/resume and
> common suspend/resume. Oh the horror ...
This should be fine, we runtime resume before we suspend.
> The semantics between runtime suspend/resume and
> ordinary suspend/resume are unclear to me, it seems like
> this is all up to the drivers and busses to figure out. Like
> you weren't supposed to use both at the same time.
This was clarified at some point relatively recently with the above
(which is essentially the same as the solution you describe).
More information about the linux-arm-kernel