Re: Runtime PM: Calling Device runtime PM callbacks?

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

 



On Sun, 13 Dec 2009, Rafael J. Wysocki wrote:

> On Sunday 13 December 2009, Alan Stern wrote:
> > On Sun, 13 Dec 2009, Rafael J. Wysocki wrote:
> > 
> > > On Sunday 13 December 2009, Mahalingam, Nithish wrote:
> > > > Hi Rafael,
> > > > 
> > > > I was wondering why PM Runtime Core cannot call the device PM callbacks when 
> > > > its device's bus does not support runtime PM (if such a scenario is valid)?
> > > 
> > > The assumption was it wouldn't be necessary, but the approach can be extended
> > > to device types and device classes.
> > > 
> > > > Regards,	
> > > > Nithish Mahalingam
> > > > P.S. Alan, Not sure if you are askin the a similar question in the 
> > > > "System sleep vs. runtime PM" mail thread.
> > > 
> > > I guess so.
> > 
> > Yes.  I mistakenly used the wrong words, but I meant the device type
> > and device class.
> 
> So, I guess we need something like device_suspend() and device_resume()
> for run-time PM, but we also will need to update the documentation.

Yes.

> I'll try to prepare a patch for that, unless you already have one ready or
> in the works.

I don't.  Go on ahead.

Alan Stern

_______________________________________________
linux-pm mailing list
linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linux-foundation.org/mailman/listinfo/linux-pm

[Index of Archives]     [Linux ACPI]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [CPU Freq]     [Kernel Newbies]     [Fedora Kernel]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux