commit | 1fcfd08bd0704e1888bd73153e8d2ca3640e22f2 | [log] [tgz] |
---|---|---|
author | Andres Salomon <dilinger@queued.net> | Tue Jul 17 01:26:10 2012 -0700 |
committer | Andres Salomon <dilinger@queued.net> | Tue Jul 31 23:27:31 2012 -0400 |
tree | 8aacc28564c985e96927ec16360ef9b4d73efb45 | |
parent | 99ecb01cdf0378783b317b8f839ac9cc5e128aa5 [diff] |
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>