diff options
author | Matt Ranostay <matt.ranostay@konsulko.com> | 2017-04-27 07:52:32 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-06-14 13:05:59 (GMT) |
commit | bad3b49b01aaafc000f2ffe1302d86ca397491ed (patch) | |
tree | 1804bf8610f6c9d4619e94b0fba681536671a3be /drivers/iio/adc/ad7291.c | |
parent | 8067c911c5e9025a3beaed225d0498edfdbbf8d3 (diff) | |
download | linux-bad3b49b01aaafc000f2ffe1302d86ca397491ed.tar.xz |
iio: proximity: as3935: fix AS3935_INT mask
commit 275292d3a3d62670b1b13484707b74e5239b4bb0 upstream.
AS3935 interrupt mask has been incorrect so valid lightning events
would never trigger an buffer event. Also noise interrupt should be
BIT(0).
Fixes: 24ddb0e4bba4 ("iio: Add AS3935 lightning sensor support")
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/iio/adc/ad7291.c')
0 files changed, 0 insertions, 0 deletions