commit | 0559ef7fde67bc6c83c6eb6329dbd6649528263e | [log] [tgz] |
---|---|---|
author | Slawomir Stepien <sst@poczta.fm> | Sat Oct 20 23:04:11 2018 +0200 |
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | Sun Oct 21 14:17:06 2018 +0100 |
tree | c5bfc29767e0a1874903c3675f62548791a80b23 | |
parent | 572974610273d58b35d6632eb3a07b6f048c5b89 [diff] |
staging: iio: adc: ad7280a: handle error from __ad7280_read32() Inside __ad7280_read32(), the spi_sync_transfer() can fail with negative error code. This change will ensure that this error is being passed up in the call stack, so it can be handled. Signed-off-by: Slawomir Stepien <sst@poczta.fm> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>