aboutsummaryrefslogtreecommitdiff
path: root/tools/perf
diff options
context:
space:
mode:
authorNuno Sa <[email protected]>2021-04-27 10:54:49 +0200
committerJonathan Cameron <[email protected]>2021-05-17 13:49:09 +0100
commit00a72db718fa198da3946286dcad222399ccd4fb (patch)
tree6f76aa90c324da5521d4c4560c6070bc5568a167 /tools/perf
parent9cc9806e22178e5dbeb4e058df23427454d8d287 (diff)
iio: adis16475: do not return ints in irq handlers
On an IRQ handler we should not return normal error codes as 'irqreturn_t' is expected. This is done by jumping to the 'check_burst32' label where we return 'IRQ_HANDLED'. Note that it is fine to do the burst32 check in this error path. If we have proper settings to apply burst32, we might just do the setup now so that the next sample already uses it. Fixes: fff7352bf7a3c ("iio: imu: Add support for adis16475") Reviewed-by: Alexandru Ardelean <[email protected]> Signed-off-by: Nuno Sa <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf')
0 files changed, 0 insertions, 0 deletions