2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-23 20:53:53 +08:00
linux-next/drivers/iio/proximity
Matt Ranostay 9122b54f26 iio: proximity: as3935: fix iio_trigger_poll issue
Using iio_trigger_poll() can oops when multiple interrupts
happen before the first is handled.

Use iio_trigger_poll_chained() instead and use the timestamp
when processed, since it will be in theory be 2 ms max latency.

Fixes: 24ddb0e4bb ("iio: Add AS3935 lightning sensor support")
Cc: stable@vger.kernel.org
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
2017-05-07 13:21:55 +01:00
..
as3935.c iio: proximity: as3935: fix iio_trigger_poll issue 2017-05-07 13:21:55 +01:00
Kconfig iio: distance: add devantech us ranger srf04 2017-02-04 12:19:20 +00:00
Makefile iio: distance: add devantech us ranger srf04 2017-02-04 12:19:20 +00:00
pulsedlight-lidar-lite-v2.c iio: pulsedlight-lidar-lite-v2: Set parent device 2017-02-19 12:02:31 +00:00
srf04.c iio: distance: add devantech us ranger srf04 2017-02-04 12:19:20 +00:00
srf08.c iio: distance: srf08: add IIO driver for us ranger 2017-01-28 16:38:24 +00:00
sx9500.c iio: proximity: sx9500: claim direct mode during raw proximity reads 2017-01-21 12:21:53 +00:00