public inbox for linux-pm@vger.kernel.org
 help / color / mirror / Atom feed
* BUG in include/linux/pm.h: remote wakeup settings
@ 2008-03-10 14:18 Alan Stern
  2008-03-10 15:06 ` Rafael J. Wysocki
  2008-03-10 16:53 ` BUG in include/linux/pm.h: remote wakeup settings David Brownell
  0 siblings, 2 replies; 4+ messages in thread
From: Alan Stern @ 2008-03-10 14:18 UTC (permalink / raw)
  To: Linux-pm mailing list

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-03-10 18:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-10 14:18 BUG in include/linux/pm.h: remote wakeup settings Alan Stern
2008-03-10 15:06 ` Rafael J. Wysocki
2008-03-10 18:44   ` [PATCH] PM: make wakeup flags available whenever CONFIG_PM is set Alan Stern
2008-03-10 16:53 ` BUG in include/linux/pm.h: remote wakeup settings David Brownell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox