diff options
| author | Matheus Tavares <[email protected]> | 2018-11-03 19:49:43 -0300 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2018-11-11 15:29:47 +0000 |
| commit | 070e8c7da116b81faf0026ecd281e92ad4917a81 (patch) | |
| tree | f900b6bcd6e299616f1c6611584321abdd302da5 /tools/perf/scripts/python | |
| parent | 5ccc612b835b5e1560f913ec96ed6fdc7835892e (diff) | |
staging:iio:ad2s90: Make read_raw return spi_read's error code
Previously, when spi_read returned an error code inside ad2s90_read_raw,
the code was ignored and IIO_VAL_INT was returned. This patch makes the
function return the error code returned by spi_read when it fails.
Signed-off-by: Matheus Tavares <[email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions