aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py
diff options
context:
space:
mode:
authorLeonard Crestez <[email protected]>2018-06-07 18:52:50 +0000
committerJonathan Cameron <[email protected]>2018-06-24 13:22:41 +0000
commitb02ec67a8e38875cdc5f9214be885022f11c0017 (patch)
treebf5f9c1a7635ca5ef0e281524723fb231ee699b5 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py
parentiio: tsl2x7x/tsl2772: avoid potential division by zero (diff)
downloadkernel-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