diff options
| author | Colin Ian King <[email protected]> | 2017-04-19 15:35:48 +0100 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2017-04-27 07:16:45 +0100 |
| commit | c894acc7bf400d039bf740420b22f0b71b7fb504 (patch) | |
| tree | 5a2e665773ec3f814211a5c3c8f82c273fc7ff92 /tools/perf/scripts/python | |
| parent | c36662193b4e2e37e0e2084ca34585478526fa88 (diff) | |
iio: hid-sensor: fix return of -EINVAL on invalid values in ret or value
Ensure that when an invalid value in ret or value is found -EINVAL
is returned. A previous commit broke the way the return error is
being returned and instead caused the return code in ret to be
re-assigned rather than be returned.
Fixes: 5d9854eaea776 ("iio: hid-sensor: Store restore poll and hysteresis on S3")
Signed-off-by: Colin Ian King <[email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions