From: Andres Salomon Date: Tue, 17 Jul 2012 08:26:10 +0000 (-0700) Subject: x86: OLPC: move s/r-related EC cmds to EC driver X-Git-Tag: v3.6-rc1~1^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1fcfd08bd0704e1888bd73153e8d2ca3640e22f2;p=pandora-kernel.git x86: OLPC: move s/r-related EC cmds to EC driver The new EC driver calls platform-specific suspend and resume hooks; run XO-1-specific EC commands from there, rather than deep in s/r code. If we attempt to run EC commands after the new EC driver has suspended, it is refused by the ec->suspended checks. Signed-off-by: Andres Salomon Acked-by: Paul Fox Reviewed-by: Thomas Gleixner --- Reading git-diff-tree failed