diff options
author | Bill Richardson <wfrichar@chromium.org> | 2014-06-18 22:14:05 +0400 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2014-07-09 17:58:19 +0400 |
commit | 6db07b6336589ff480528173e41f8f6af3f0097f (patch) | |
tree | 306bf3f92d5bc8920c8ae668e3e8c93534351d85 /drivers/i2c/busses/i2c-cros-ec-tunnel.c | |
parent | 5799f95a373a2752e5c732f531a6f40fe458b818 (diff) | |
download | linux-6db07b6336589ff480528173e41f8f6af3f0097f.tar.xz |
mfd: cros_ec: Check result code from EC messages
Just because the host was able to talk to the EC doesn't mean that the EC
was happy with what it was told. Errors in communincation are not the same
as error messages from the EC itself.
This change lets the EC report its errors separately.
[dianders: Added common function to cros_ec.c]
Signed-off-by: Bill Richardson <wfrichar@chromium.org>
Signed-off-by: Doug Anderson <dianders@chromium.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/i2c/busses/i2c-cros-ec-tunnel.c')
0 files changed, 0 insertions, 0 deletions