alistair23-linux/drivers/iio
Matt Ranostay 45a6b8218d iio: lidar: return -EINVAL on invalid signal
Returning zero from the measurment function has the side effect of
corrupting the triggered buffer readings, better to use -EINVAL than
a zero measurement reading.

The INVALID status happens even it isn't out of range
sometimes roughly once every second or two. This can be from an
invalid second signal return path. Hence there are spurious zero
readings from the triggered buffer, and warning messages in the kernel
log.

Signed-off-by: Matt Ranostay <mranostay@gmail.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
2015-11-21 15:56:53 +00:00
..
accel spi: Updates for v4.4 2015-11-05 13:15:12 -08:00
adc First set of IIO fixes for the 4.4 cycle. 2015-11-18 13:15:50 -08:00
amplifiers spi: Updates for v4.4 2015-11-05 13:15:12 -08:00
buffer iio: Move generic buffer implementations to sub-directory 2015-08-16 10:51:21 +01:00
chemical iio: chemical: vz89x hardware i2c workaround 2015-09-30 18:20:53 +01:00
common spi: Updates for v4.4 2015-11-05 13:15:12 -08:00
dac First set of IIO fixes for the 4.4 cycle. 2015-11-18 13:15:50 -08:00
frequency spi: Updates for v4.4 2015-11-05 13:15:12 -08:00
gyro spi: Updates for v4.4 2015-11-05 13:15:12 -08:00
humidity First set of IIO fixes for the 4.4 cycle. 2015-11-18 13:15:50 -08:00
imu spi: Updates for v4.4 2015-11-05 13:15:12 -08:00
light iio:light:apds9960 Fix sparse endian warnings. 2015-10-12 18:21:38 +01:00
magnetometer spi: Updates for v4.4 2015-11-05 13:15:12 -08:00
orientation
potentiometer iio: mcp4531: Driver for Microchip digital potentiometers 2015-09-30 18:20:53 +01:00
pressure spi: Updates for v4.4 2015-11-05 13:15:12 -08:00
proximity iio: lidar: return -EINVAL on invalid signal 2015-11-21 15:56:53 +00:00
temperature Add tsys02d meas-spec driver support 2015-10-11 10:21:19 +01:00
trigger
iio_core.h
iio_core_trigger.h
industrialio-buffer.c iio: industrialio-buffer: Fix iio_buffer_poll return value 2015-08-12 19:26:34 +01:00
industrialio-core.c iio: resistance: add IIO_RESISTANCE channel type 2015-09-23 20:23:25 +01:00
industrialio-event.c iio: event: Remove negative error code from iio_event_poll 2015-08-12 19:26:39 +01:00
industrialio-trigger.c iio: Support triggered events 2015-08-27 20:47:09 +01:00
industrialio-triggered-event.c iio: Support triggered events 2015-08-27 20:47:09 +01:00
inkern.c
Kconfig iio: mcp4531: Driver for Microchip digital potentiometers 2015-09-30 18:20:53 +01:00
Makefile iio: mcp4531: Driver for Microchip digital potentiometers 2015-09-30 18:20:53 +01:00