linux/drivers/iio/proximity
Alison Schofield 6b2e7589b8 iio: proximity: sx9500: claim direct mode during raw proximity reads
Driver was checking for direct mode but not locking it.  Use the
claim/release helper functions to guarantee the device stays in
direct mode during raw reads of proximity data.

Signed-off-by: Alison Schofield <amsfield22@gmail.com>
Reviewed-by: Vlad Dogaru <ddvlad@gmail.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
2017-01-21 12:21:53 +00:00
..
as3935.c iio: proximity: as3935: set up buffer timestamps for non-zero values 2016-08-15 15:39:27 +01: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
pulsedlight-lidar-lite-v2.c iio: pulsedlight-lidar-lite-v2: add lidar-lite-v3 property 2016-12-31 15:18:31 +00:00
sx9500.c iio: proximity: sx9500: claim direct mode during raw proximity reads 2017-01-21 12:21:53 +00:00