Re: [patch 2.6.27-rc4] rtc-cmos: wakes again from S5

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: David Brownell
Date: Thursday, August 28, 2008 - 5:32 pm

On Thursday 28 August 2008, Andrew Morton wrote:

True, but it's the best we've got for this kind of thing.
Globals ... yeech.



My general belief is that there should be a set of predicates
that drivers use to test whether or not the target system state
satisfies various prerequisites.  Like whether a clock or power
domain must be disabled, and so on.

In this specific case, a system_is_powering_down() predicate is
the logical application of that policy to this problem.

- Dave



--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[patch 2.6.27-rc4] rtc-cmos: wakes again from S5, David Brownell, (Thu Aug 28, 11:29 am)
Re: [patch 2.6.27-rc4] rtc-cmos: wakes again from S5, Andrew Morton, (Thu Aug 28, 5:22 pm)
Re: [patch 2.6.27-rc4] rtc-cmos: wakes again from S5, David Brownell, (Thu Aug 28, 5:32 pm)
Re: [patch 2.6.27-rc4] rtc-cmos: wakes again from S5, Rafael J. Wysocki, (Fri Aug 29, 10:34 am)