OpenCloudOS-Kernel/drivers/iio/proximity
Matt Ranostay 9979e320b5 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: 366e65633c ("iio: proximity: lidar: optimize i2c transactions")
Signed-off-by: Matt Ranostay <mranostay@gmail.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
2016-01-03 17:54:08 +00:00
..
Kconfig iio: proximity: add support for PulsedLight LIDAR 2015-08-31 16:48:16 +01:00
Makefile iio: proximity: add support for PulsedLight LIDAR 2015-08-31 16:48:16 +01:00
as3935.c spi: Updates for v4.4 2015-11-05 13:15:12 -08:00
pulsedlight-lidar-lite-v2.c iio: proximity: lidar: correct return value 2016-01-03 17:54:08 +00:00
sx9500.c iio: remove gpio interrupt probing from drivers that use a single interrupt 2015-10-03 12:05:51 +01:00