linux/drivers/iio
Lars-Peter Clausen 8e1eeca5af 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: 3dd477acbd ("iio: light: Add threshold interrupt support for STK3310")
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Link: https://lore.kernel.org/r/20211024171251.22896-3-lars@metafoo.de
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2021-11-17 17:52:34 +00:00
..
accel iio: kxsd9: Don't return error code in trigger handler 2021-11-17 17:52:33 +00:00
adc - Remove Drivers 2021-11-08 12:07:52 -08:00
afe iio: afe: iio-rescale: Support processed channels 2021-06-03 18:24:13 +01:00
amplifiers
buffer iio: triggered-buffer: extend support to configure output buffers 2021-10-19 08:30:45 +01:00
cdc
chemical iio: chemical: scd4x: Add a scale for the co2 concentration reading 2021-10-21 20:53:11 +01:00
common chrome platform changes for 5.16 2021-11-10 11:36:43 -08:00
dac First set of IIO fixes for the 5.16 cycle 2021-10-24 13:08:36 +02:00
dummy iio: dummy: Fix build error when CONFIG_IIO_TRIGGERED_BUFFER is not set 2021-06-13 17:00:17 +01:00
frequency iio: frequency: adrf6780: Fix adrf6780_spi_{read,write}() 2021-10-24 13:14:26 +02:00
gyro iio: gyro: mpu3050: Fix alignment and size issues with buffers. 2021-10-19 08:29:22 +01:00
health iio: health: afe4403: Don't return an error in .remove() 2021-10-19 08:30:45 +01:00
humidity iio: humidity: hdc100x: Add margin to the conversion time 2021-07-24 18:13:02 +01:00
imu iio: imu: st_lsm6dsx: Avoid potential array overflow in st_lsm6dsx_set_odr() 2021-10-20 14:43:53 +01:00
light iio: stk3310: Don't return error code in interrupt handler 2021-11-17 17:52:34 +00:00
magnetometer iio: magn: hmc5843: Make hmc5843_common_remove() return void 2021-10-19 08:30:45 +01:00
multiplexer iio: multiplexer: iio-mux: Support settle-time-us property 2021-10-21 20:02:54 +01:00
orientation iio: hid-sensors: bind IIO channels alloc to device object 2021-07-13 18:21:53 +01:00
position iio: hid-sensors: Update header includes 2021-06-16 14:53:13 +01:00
potentiometer iio: potentiometer: max5487: Don't return an error in .remove() 2021-10-19 08:30:46 +01:00
potentiostat
pressure First set of IIO fixes for the 5.16 cycle 2021-10-24 13:08:36 +02:00
proximity iio: sx9310: Support ACPI property 2021-07-31 15:15:28 +01:00
resolver
temperature iio: temperature: Add MAX31865 RTD Support 2021-09-14 12:00:33 +01:00
test iio/test-format: build kunit tests without structleak plugin 2021-10-06 17:53:36 -06:00
trigger
iio_core.h iio: Add output buffer support 2021-10-19 08:30:44 +01:00
iio_core_trigger.h
industrialio-buffer.c 2nd set of IIO new driver, cleanups and features for the 5.16 cycle 2021-10-24 13:09:37 +02:00
industrialio-configfs.c
industrialio-core.c First set of IIO fixes for the 5.16 cycle 2021-10-24 13:08:36 +02:00
industrialio-event.c
industrialio-sw-device.c
industrialio-sw-trigger.c
industrialio-trigger.c
industrialio-triggered-event.c
inkern.c iio: inkern: introduce devm_iio_map_array_register() short-hand function 2021-10-19 08:27:34 +01:00
Kconfig
Makefile
TODO