diff options
| author | Leonard Crestez <[email protected]> | 2018-06-07 18:52:50 +0000 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2018-06-24 13:22:41 +0000 |
| commit | b02ec67a8e38875cdc5f9214be885022f11c0017 (patch) | |
| tree | bf5f9c1a7635ca5ef0e281524723fb231ee699b5 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py | |
| parent | iio: tsl2x7x/tsl2772: avoid potential division by zero (diff) | |
| download | kernel-b02ec67a8e38875cdc5f9214be885022f11c0017.tar.gz kernel-b02ec67a8e38875cdc5f9214be885022f11c0017.zip | |
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: 605f72de137a ("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]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py')
0 files changed, 0 insertions, 0 deletions
