]> git.karo-electronics.de Git - linux-beck.git/commit
mfd: cros_ec: Detect in-progress commands
authorSimon Glass <sjg@chromium.org>
Wed, 18 Jun 2014 18:14:01 +0000 (11:14 -0700)
committerLee Jones <lee.jones@linaro.org>
Wed, 9 Jul 2014 13:58:16 +0000 (14:58 +0100)
commit9c5edb6c458b04a243c4ba09a60349367b36e761
tree5f10cbc3b1603ddaa461d7ed6e2cbd789fd0c2f6
parent7e6cb5b4dbbc4b1d98289c88d0bc4092cac328be
mfd: cros_ec: Detect in-progress commands

Some commands take a while to execute. Use -EAGAIN to signal this to the
caller.

Signed-off-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Doug Anderson <dianders@chromium.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/cros_ec_spi.c