BUG in include/linux/pm.h: remote wakeup settings

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

 



Currently include/linux/pm.h doesn't define the should_wakeup field in 
dev_pm_info, or the related accessor macros, unless CONFIG_PM_SLEEP is 
set.

This is wrong.  Even though the system can't go to sleep, individual
devices may be placed in low-power states (runtime PM).  Thus the
various wakeup settings should be available whenever CONFIG_PM is on.

I don't want to submit a patch to fix the problem right now, because it
would clash with ongoing changes that Rafael is making.  But the bug
needs to be fixed in time for 2.6.26.

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