OLPC: decouple sleep/resume from powerdown/powerup (take 3)

Bernardo Innocenti bernie at codewiz.org
Tue Sep 25 17:37:30 EDT 2007


Jordan Crouse wrote:

> So anyway, long story short, its all below in black and white.  Please
> reply with comments.

As I said, I also like this design.

The only thing I could suggest is moving the code snippets that implement
the actual video unit powerdown and powerup to separate functions, so they
wouldn't be duplicated between lx_blank_display() and lx_graphics_{dis,en}able().

-- 
 \___/
 |___|  Bernardo Innocenti - http://www.codewiz.org/
  \___\ One Laptop Per Child - http://www.laptop.org/



More information about the Devel mailing list