diff options
author | Matt Ranostay <matt.ranostay@konsulko.com> | 2017-04-27 10:52:32 +0300 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2017-04-27 18:28:57 +0300 |
commit | 275292d3a3d62670b1b13484707b74e5239b4bb0 (patch) | |
tree | 59e980d74753016dbd36d4d518e8fec62bfd7e45 /drivers/misc/atmel-ssc.c | |
parent | 35fa70dfd6e6f270d7aabb3470855208b11ac9fb (diff) | |
download | linux-275292d3a3d62670b1b13484707b74e5239b4bb0.tar.xz |
iio: proximity: as3935: fix AS3935_INT mask
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")
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/misc/atmel-ssc.c')
0 files changed, 0 insertions, 0 deletions