Messages in this thread | | | From | "Rafael J. Wysocki" <> | Subject | Re: platform/i2c busses: pm runtime and system sleep | Date | Fri, 17 Dec 2010 14:25:07 +0100 |
| |
On Friday, December 17, 2010, Mark Brown wrote: > On Thu, Dec 16, 2010 at 11:56:57PM +0530, Rabin Vincent wrote: > > > There seem to be some differences between the generic ops and the i2c > > and platform busses' implementations of the interaction between runtime > > PM and system sleep: > > > (1) The platform bus does not implement the > > don't-call-pm->suspend()-if pm_runtime_suspended()-returns-true > > functionality implemented by the generic ops and i2c. > > This is platform lagging behind I2C in implementation - both originally > did what platform does and then I2C was updated and platform wasn't. > > It'd be really good if this could all be factored out into the PM core, > we're going to have to do the same thing for at least SPI as well and > possibly some other buses :/
So how exactly the PM core is supposed to include those things?
There certainly are other buses that don't want to do them.
Thanks, Rafael
| |