aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorGwendal Grignou <gwendal@chromium.org>2019-07-18 15:22:37 -0700
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2019-07-27 22:52:04 +0100
commitf53199c0bc62657f7bc253b5dfc9f3d81ed2ca28 (patch)
treef181f7b042b95b5b5408ee0b56892674401e2054 /include/linux
parentiio: 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/linux')
0 files changed, 0 insertions, 0 deletions