lkml.org 
[lkml]   [2008]   [Aug]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch 2.6.27-rc4] rtc-cmos: wakes again from S5
On Thu, 28 Aug 2008 11:29:35 -0700
David Brownell <david-b@pacbell.net> wrote:

> + if (system_state == SYSTEM_POWER_OFF && !cmos_poweroff(pdev))

erp, system_state is a pretty horrid thing. It's a global with
relatively poorly defined transition conditions which have actually
changed over time.

It was not my greatest ever idea. It was simple and expedient at the
time and expanded use of it was "discouraged" (rofl).

Is there no alternative?


\
 
 \ /
  Last update: 2008-08-29 02:25    [W:0.087 / U:1.508 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site