diff options
| author | 2019-07-18 15:22:37 -0700 | |
|---|---|---|
| committer | 2019-07-27 22:52:04 +0100 | |
| commit | f53199c0bc62657f7bc253b5dfc9f3d81ed2ca28 (patch) | |
| tree | f181f7b042b95b5b5408ee0b56892674401e2054 /include | |
| parent | iio: cros_ec: Add calibscale for 3d MEMS (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 'include')
0 files changed, 0 insertions, 0 deletions
