[linux-pm] [PATCH 2/2] Fix console handling during suspend/resume

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

 




On Sun, 25 Jun 2006, Adam Belay wrote:
> 
> P.S.:  Linus, what are your thoughts on passing a mirror image of the suspend
> callbacks we provide (or will provide) for the device interface to the class
> device interface?  In other words, allow it to also get suspend_prepare(),
> resume_finish(), etc. to encourage the sort of abstraction suggested above.

I don't think the suspend_late() case in particular makes much sense (what 
could a class do at that late a point?), but I'm certainly not against it 
if people figure out a real use.

I'd like the current single entry-point to be made usable first, though. 
Right now it "exists", but I don't think you can necessarily use it 
because the class doesn't necessarily have a mapping from "struct device" 
to whatever class instance it's a class of.

(That might depend on the class, of course, I didn't really look into it)

		Linus


[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