diff options
author | Lars-Peter Clausen <[email protected]> | 2021-10-24 19:12:51 +0200 |
---|---|---|
committer | Jonathan Cameron <[email protected]> | 2021-11-17 17:52:34 +0000 |
commit | 8e1eeca5afa7ba84d885987165dbdc5decf15413 (patch) | |
tree | 2e1eb7459b1fc486721b96012f825391ab81e894 /scripts/gdb/linux/device.py | |
parent | 45febe0d63917ee908198c5be08511c64ee1790a (diff) |
iio: stk3310: Don't return error code in interrupt handler
Interrupt handlers must return one of the irqreturn_t values. Returning a
error code is not supported.
The stk3310 event interrupt handler returns an error code when reading the
flags register fails.
Fix the implementation to always return an irqreturn_t value.
Fixes: 3dd477acbdd1 ("iio: light: Add threshold interrupt support for STK3310")
Signed-off-by: Lars-Peter Clausen <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Cc: <[email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/device.py')
0 files changed, 0 insertions, 0 deletions