From: Andres Salomon Date: Fri, 13 Jul 2012 22:54:25 +0000 (-0700) Subject: Platform: OLPC: add a suspended flag to the EC driver X-Git-Tag: v3.6-rc1~1^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d278b7a2f90f91f908b19b50cfa59e10632b5afc;p=pandora-kernel.git 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 Acked-by: Paul Fox Reviewed-by: Thomas Gleixner --- Reading git-diff-tree failed