android_kernel_xiaomi_sm7250/drivers/iio/imu
Nuno Sa bf349ef02d iio: adis_buffer: do not return ints in irq handlers
[ Upstream commit d877539ad8e8fdde9af69887055fec6402be1a13 ]

On an IRQ handler we should not return normal error codes as 'irqreturn_t'
is expected.

Not necessarily stable material as the old check cannot fail, so it's a bug
we can not hit.

Fixes: ccd2b52f4a ("staging:iio: Add common ADIS library")
Reviewed-by: Alexandru Ardelean <ardeleanalex@gmail.com>
Signed-off-by: Nuno Sa <nuno.sa@analog.com>
Link: https://lore.kernel.org/r/20210422101911.135630-2-nuno.sa@analog.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-07-20 16:15:53 +02:00
..
bmi160 iio:imu:bmi160: Fix alignment and data leak issues 2021-01-09 13:43:48 +01:00
inv_mpu6050 iio: imu: mpu6050: add missing available scan masks 2019-12-17 20:36:01 +01:00
st_lsm6dsx iio: imu: st_lsm6dsx: fix edge-trigger interrupts 2021-01-17 14:04:21 +01:00
adis16400_buffer.c iio: imu: adis16400: fix memory leak 2020-08-05 10:05:59 +02:00
adis16400_core.c iio: adis16400: Fix an error code in adis16400_initial_setup() 2021-03-24 11:07:36 +01:00
adis16400.h
adis16480.c iio: imu: adis16480: assign bias value only if operation succeeded 2020-01-17 19:47:05 +01:00
adis_buffer.c iio: adis_buffer: do not return ints in irq handlers 2021-07-20 16:15:53 +02:00
adis_trigger.c iio: adis_lib: Initialize trigger before requesting interrupt 2018-02-17 14:16:35 +00:00
adis.c iio:imu:adis: Mark expected switch fall-throughs 2018-07-07 18:01:05 +01:00
Kconfig iio: imu: add support to lsm6dsx driver 2017-01-14 12:40:37 +00:00
kmx61.c iio:imu: drop assign iio_info.driver_module and iio_trigger_ops.owner 2017-08-22 21:31:01 +01:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00