mirror of
https://github.com/torvalds/linux.git
synced 2026-12-03 03:52:37 +00:00
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 <[email protected]> Acked-by: Paul Fox <[email protected]> Reviewed-by: Thomas Gleixner <[email protected]>