[linux-pm] Re: Hotplug events during sleep transition

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

 



Hi!

> >  All you
> > have to do for each suspend routine is mimic that effect. It arguably
> > doesn't require any serious knowledge about the device - it only needs a
> > copy of the ->probe() and ->remove() routines (or the functional
> > equivalent for those devices), without the allocation and freeing of data
> > structures.
> 
> Why go to all the trouble of copying probe and remove when we can call the
> actual existing routines?

Well, if you can find some elegant solution in the core, I think thats
the best way.

You could set system_state to "suspending" or something like that, and
just if() out notifications in that case.
								Pavel

-- 
Thanks, Sharp!

[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