Re: [PATCH RESEND] i2c/nomadik: runtime PM support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux GPIO]     [Linux SPI]     [Linux Hardward Monitoring]     [LM Sensors]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux