commit | 9979e320b559264333a77c73131ae88cefca15e5 | [log] [tgz] |
---|---|---|
author | Matt Ranostay <mranostay@gmail.com> | Sat Dec 26 20:56:30 2015 -0800 |
committer | Jonathan Cameron <jic23@kernel.org> | Sun Jan 03 17:54:08 2016 +0000 |
tree | 38591004a2cd55065a3ac635ddd031d475818cf8 | |
parent | 02c34ccc1d2d528d2de2897881b97933363432b5 [diff] |
iio: proximity: lidar: correct return value lidar_i2c_xfer() function was never a non-positive value on error, and this correct that with a -EIO return code. Fixes: 366e65633cf4 ("iio: proximity: lidar: optimize i2c transactions") Signed-off-by: Matt Ranostay <mranostay@gmail.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>