Files
linux/drivers/iio/accel
Leonard Crestez b02ec67a8e iio: mma8452: Fix ignoring MMA8452_INT_DRDY
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 <[email protected]>
cc: <[email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>
2018-06-24 14:22:41 +01:00
..
…
2017-10-10 20:40:54 +01:00