commit | 275292d3a3d62670b1b13484707b74e5239b4bb0 | [log] [tgz] |
---|---|---|
author | Matt Ranostay <matt.ranostay@konsulko.com> | Thu Apr 27 00:52:32 2017 -0700 |
committer | Jonathan Cameron <jic23@kernel.org> | Thu Apr 27 16:28:57 2017 +0100 |
tree | 59e980d74753016dbd36d4d518e8fec62bfd7e45 | |
parent | 35fa70dfd6e6f270d7aabb3470855208b11ac9fb [diff] |
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>