Re: [linux-usb-devel] Re: The evilness of struct?usb_device->auto_pm

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

 



Hi!

> > > OK, so this is the consensus. Then the question arises, how does a
> > > driver learn that all it's children have gone into autosuspend?
> > 
> > atomic_t variable in the parent, with children updating it and calling
> > parent's callback when it goes to 1->0 and 0->1?
> 
> That's a viable proposal, but it means moving part of the autosuspend
> code into the generic model. Are you all okay with that?

Me? Yes.
								Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
_______________________________________________
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