summaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl/pinctrl-oxnas.c
diff options
context:
space:
mode:
authorMatt Ranostay <matt.ranostay@konsulko.com>2017-05-05 02:32:19 +0200
committerJonathan Cameron <jic23@kernel.org>2017-05-07 14:21:55 +0200
commit9122b54f266ddee09654fe3fbc503c1a60f4a01c (patch)
treef1f8c7c4c432b9fae188731ccf4e3a887dfa7f5b /drivers/pinctrl/pinctrl-oxnas.c
parentiio: proximity: as3935: fix AS3935_INT mask (diff)
downloadlinux-9122b54f266ddee09654fe3fbc503c1a60f4a01c.tar.xz
linux-9122b54f266ddee09654fe3fbc503c1a60f4a01c.zip
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: 24ddb0e4bba4 ("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>
Diffstat (limited to 'drivers/pinctrl/pinctrl-oxnas.c')
0 files changed, 0 insertions, 0 deletions