commit | d278b7a2f90f91f908b19b50cfa59e10632b5afc | [log] [tgz] |
---|---|---|
author | Andres Salomon <dilinger@queued.net> | Fri Jul 13 15:54:25 2012 -0700 |
committer | Andres Salomon <dilinger@queued.net> | Tue Jul 31 23:27:30 2012 -0400 |
tree | 559ebe7c5cfbdb46381ecd9074dff292c09f7012 | |
parent | ac2504151f5af27bbf0c0362b7da5951e05dfc43 [diff] |
Platform: OLPC: add a suspended flag to the EC driver A problem we've noticed on XO-1.75 is when we suspend in the middle of an EC command. Don't allow that. In the process, create a private object for the generic EC driver to use; we have a framework for passing around a struct, use that rather than a proliferation of global variables. Signed-off-by: Andres Salomon <dilinger@queued.net> Acked-by: Paul Fox <pgf@laptop.org> Reviewed-by: Thomas Gleixner <tglx@linutronix.de>