diff options
| author | Wei Yongjun <[email protected]> | 2013-08-23 03:47:00 +0100 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2013-08-28 20:45:43 +0100 |
| commit | 2d2da9fc7113ee5df06519e435f2f9430acf40c5 (patch) | |
| tree | 6fcff5fab5f574e7c1df1812dc9eb7b44fdedcdc /tools/perf/scripts/python/check-perf-trace.py | |
| parent | 0eab65c64a2fbc6356f330b41f7bdadd1a094bbd (diff) | |
iio: adc: twl6030-gpadc: fix error return code in twl6030_gpadc_read_raw()
Fix to return -EINTR in the error handling case instead
of 0 (ret is assigned after goto, which has no effect),
as done elsewhere in this function.
Signed-off-by: Wei Yongjun <[email protected]>
Reported-by: Dan Carpenter <[email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions