diff options
author | Matt Fornero <[email protected]> | 2017-09-05 16:34:10 +0200 |
---|---|---|
committer | Jonathan Cameron <[email protected]> | 2017-09-24 16:58:32 +0100 |
commit | 3d62c78a6eb9a7d67bace9622b66ad51e81c5f9b (patch) | |
tree | 42f31a81b456cc4ef4958e3f108c3e9407c0e06e /net | |
parent | 7ee3b7ebcb74714df6d94c8f500f307e1ee5dda5 (diff) |
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 <[email protected]>
Signed-off-by: Lars-Peter Clausen <[email protected]>
Cc: <[email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions