Re: Runtime PM: Calling Device runtime PM callbacks?

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

 



On Tuesday 15 December 2009, Alan Stern wrote:
> On Tue, 15 Dec 2009, Rafael J. Wysocki wrote:
> 
> > In fact, I'm not very comfortable with the current possibility to call DPM
> > callbacks of two or three kinds in a row for the same device, because that
> > means very close connection between the bus type and device type or device
> > class (or all three of them).  Nobody does that, as far as I can tell, and I
> > guess nobody will.
> 
> How certain are you?  Do you want to add a WARN_ON to the PM core in 
> case such a thing turns up?

That might be a good idea, at least for linux-next testing.

> > Now, if we agree that only one callback will be called for given device
> > (either bus type, or device type, or device class), the code may be simpler
> > and there won't be an issue with the ordering in _idle.
> 
> That would be perfectly fine with me.

OK

Rafael
_______________________________________________
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