diff options
author | Gwendal Grignou <gwendal@chromium.org> | 2019-07-18 15:22:37 -0700 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2019-07-27 22:52:04 +0100 |
commit | f53199c0bc62657f7bc253b5dfc9f3d81ed2ca28 (patch) | |
tree | f181f7b042b95b5b5408ee0b56892674401e2054 /drivers/iio/common/st_sensors | |
parent | ed1f2e85da79274f3dc4092953f1359eb732f0c6 (diff) |
iio: cros_ec: Remove replacing error code with -EIO
Due to an API misread, error code can be different for -EIO when reading
a sysfs entry. Return the error reported by the cros_ec stack.
Check the proper error message (protocol error, not supported) is
reported when there is an error returned by the EC stack.
Signed-off-by: Gwendal Grignou <gwendal@chromium.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/common/st_sensors')
0 files changed, 0 insertions, 0 deletions