Files
linux/drivers
Leonard Crestez 19dc0ed2e4 iio: mma8452: Fix ignoring MMA8452_INT_DRDY
commit b02ec67a8e upstream.

Interrupts are ignored if no event bit is set in the status status
register and this breaks the buffer interface. No data is shown when
running "iio_generic_buffer -n mma8451 -a" and interrupt counts go
crazy.

Fix by not returning IRQ_NONE if DRDY is set.

Fixes: 605f72de13 ("iio: accel: mma8452: improvements to handle
multiple events")

Signed-off-by: Leonard Crestez <leonard.crestez@nxp.com>
cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-07-08 15:32:17 +02:00
..
2018-05-29 09:59:53 -04:00
2018-07-03 11:26:59 +02:00
2018-06-16 09:18:24 +02:00
2018-04-19 15:11:50 -07:00
2018-03-27 09:51:22 +02:00
2018-05-22 13:48:34 -04:00
2018-04-18 23:37:25 -04:00
2018-03-29 13:38:10 +03:00