linux-stable/drivers/iio/imu
Nuno Sa 2edfba8a55 iio: adis16475: do not return ints in irq handlers
[ Upstream commit 00a72db718 ]

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: fff7352bf7 ("iio: imu: Add support for adis16475")
Reviewed-by: Alexandru Ardelean <ardeleanalex@gmail.com>
Signed-off-by: Nuno Sa <nuno.sa@analog.com>
Link: https://lore.kernel.org/r/20210427085454.30616-2-nuno.sa@analog.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-07-14 16:56:34 +02:00
..
bmi160 iio:imu:bmi160: Fix alignment and data leak issues 2020-12-30 11:54:25 +01:00
inv_icm42600 iio: imu: inv_icm42600: add accurate timestamping 2020-06-27 14:24:42 +01:00
inv_mpu6050 iio: inv_mpu6050: Fully validate gyro and accel scale writes 2021-05-14 09:49:58 +02:00
st_lsm6dsx iio: imu: st_lsm6dsx: fix edge-trigger interrupts 2020-12-30 11:54:24 +01:00
adis.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
adis16400.c iio: adis16400: do not return ints in irq handlers 2021-07-14 16:56:34 +02:00
adis16460.c iio: adis16460: Use Managed device functions 2020-09-16 19:06:09 +01:00
adis16475.c iio: adis16475: do not return ints in irq handlers 2021-07-14 16:56:34 +02:00
adis16480.c iio: adis16480: Use Managed device functions 2020-09-16 19:06:09 +01:00
adis_buffer.c iio: adis_buffer: do not return ints in irq handlers 2021-07-14 16:56:34 +02:00
adis_trigger.c iio: adis: Drop non Managed device functions 2020-09-16 19:06:10 +01:00
fxos8700.h iio: imu: Add support for the FXOS8700 IMU 2019-10-22 10:24:50 +01:00
fxos8700_core.c iio: remove explicit IIO device parent assignment 2020-06-14 11:49:59 +01:00
fxos8700_i2c.c iio: imu: Add support for the FXOS8700 IMU 2019-10-22 10:24:50 +01:00
fxos8700_spi.c iio: imu: Add support for the FXOS8700 IMU 2019-10-22 10:24:50 +01:00
Kconfig iio: imu: add Kconfig and Makefile for inv_icm42600 driver 2020-06-27 14:20:25 +01:00
kmx61.c iio: imu: kmx61: Fix formatting in kerneldoc function headers 2020-07-20 09:03:09 +01:00
Makefile iio: imu: add Kconfig and Makefile for inv_icm42600 driver 2020-06-27 14:20:25 +01:00