On Friday, May 04, 2012, Mark Brown wrote:
> On Thu, May 03, 2012 at 09:25:37PM +0200, Rafael J. Wysocki wrote:
> > On Thursday, May 03, 2012, Mark Brown wrote:
> 
> > > This seems like a really useful idiom in general - might it be worth
> > > supporting as a standard framework feature?
> 
> > The generic PM domains framework does this, it's not platform-specific
> > (if I understood your question correctly).
> 
> AIUI it only works if the device gets placed into a doman, though?

Yes, it does, because otherwise the runtime PM framework avoids calling
.runtime_suspend() or .runtime_resume() twice in a row.

So the flag is only when the callbacks are not always run through the runtime
PM framework, like when domains are involved.

Thanks,
Rafael
--
To unsubscribe from this list: send the line "unsubscribe linux-i2c" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to