Home
last modified time | relevance | path

Searched hist:"3 d62c78a6eb9a7d67bace9622b66ad51e81c5f9b" (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/iio/
H A Dindustrialio-core.cdiff 3d62c78a6eb9a7d67bace9622b66ad51e81c5f9b Tue Sep 05 16:34:10 CEST 2017 Matt Fornero <matt.fornero@mathworks.com> iio: core: Return error for failed read_reg

If an IIO device returns an error code for a read access via debugfs, it
is currently ignored by the IIO core (other than emitting an error
message). Instead, return this error code to user space, so upper layers
can detect it correctly.

Signed-off-by: Matt Fornero <matt.fornero@mathworks.com>
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>