OpenCloudOS-Kernel/arch/x86/platform/olpc
Andres Salomon 1fcfd08bd0 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 <dilinger@queued.net>
Acked-by: Paul Fox <pgf@laptop.org>
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
2012-07-31 23:27:31 -04:00
..
Makefile x86, olpc: Add XO-1.5 SCI driver 2011-07-06 14:44:43 -07:00
olpc-xo1-pm.c x86: OLPC: move s/r-related EC cmds to EC driver 2012-07-31 23:27:31 -04:00
olpc-xo1-rtc.c x86, olpc: Add XO-1 RTC driver 2011-07-06 14:44:42 -07:00
olpc-xo1-sci.c drivers: OLPC: update various drivers to include olpc-ec.h 2012-07-31 23:27:29 -04:00
olpc-xo15-sci.c drivers: OLPC: update various drivers to include olpc-ec.h 2012-07-31 23:27:29 -04:00
olpc.c x86: OLPC: move s/r-related EC cmds to EC driver 2012-07-31 23:27:31 -04:00
olpc_dt.c x86, olpc: Add missing elements to device tree 2011-07-06 14:44:19 -07:00
olpc_ofw.c x86, olpc: Add OLPC device-tree support 2010-12-15 17:11:30 -08:00
xo1-wakeup.S x86, olpc: Add XO-1 suspend/resume support 2011-07-06 14:44:32 -07:00