linux-stable/drivers/iio
Jiasheng Jiang 82546d91d5 iio: adc: Add check for devm_request_threaded_irq
[ Upstream commit b30537a4ce ]

As the potential failure of the devm_request_threaded_irq(),
it should be better to check the return value and return
error if fails.

Fixes: fa659a40b8 ("iio: adc: twl6030-gpadc: Use devm_* API family")
Signed-off-by: Jiasheng Jiang <jiasheng@iscas.ac.cn>
Link: https://lore.kernel.org/r/20220224062849.3280966-1-jiasheng@iscas.ac.cn
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-04-08 14:23:46 +02:00
..
accel iio: mma8452: Fix probe failing when an i2c_device_id is used 2022-04-08 14:23:45 +02:00
adc iio: adc: Add check for devm_request_threaded_irq 2022-04-08 14:23:46 +02:00
afe iio: afe: rescale: use s64 for temporary scale calculations 2022-04-08 14:22:50 +02:00
amplifiers
buffer
cdc
chemical
common iio: ssp_sensors: add more range checking in ssp_parse_dataframe() 2021-09-18 19:10:55 +01:00
dac iio: ad5770r: make devicetree property reading consistent 2021-11-18 19:16:07 +01:00
dummy
frequency
gyro iio: Fix error handling for PM 2022-03-02 11:48:04 +01:00
health
humidity
imu iio: Fix error handling for PM 2022-03-02 11:48:04 +01:00
light iio: ltr501: Don't return error code in trigger handler 2021-12-14 10:57:21 +01:00
magnetometer iio: Fix error handling for PM 2022-03-02 11:48:04 +01:00
multiplexer
orientation
position
potentiometer
potentiostat
pressure iio: st_pressure_spi: Add missing entries SPI to device ID table 2021-11-18 19:16:50 +01:00
proximity
resolver
temperature
test iio/test-format: build kunit tests without structleak plugin 2021-10-06 17:53:36 -06:00
trigger iio: trigger: stm32-timer: fix MODULE_ALIAS 2021-12-14 10:57:20 +01:00
iio_core.h
iio_core_trigger.h
industrialio-buffer.c iio: buffer: Fix file related error handling in IIO_BUFFER_GET_FD_IOCTL 2022-02-16 12:56:37 +01:00
industrialio-configfs.c
industrialio-core.c iio: core: check return value when calling dev_set_name() 2021-11-18 19:16:02 +01:00
industrialio-event.c
industrialio-sw-device.c
industrialio-sw-trigger.c
industrialio-trigger.c iio: trigger: Fix a scheduling whilst atomic issue seen on tsc2046 2022-01-27 11:02:57 +01:00
industrialio-triggered-event.c
inkern.c iio: inkern: make a best effort on offset calculation 2022-04-08 14:22:50 +02:00
Kconfig
Makefile
TODO