linux/drivers/iio
Mudit Sharma 1a5cba4309 iio: light: apds9306: Fix error handing
The return value of 'iio_gts_find_int_time_by_sel()' is assigned to
variable 'intg_old' but value of 'ret' is checked for error. Update to
use 'intg_old' for error checking.

Fixes: 620d1e6c7a ("iio: light: Add support for APDS9306 Light Sensor")
Signed-off-by: Mudit Sharma <muditsharma.info@gmail.com>
Reviewed-by: Subhajit Ghosh <subhajit.ghosh@tweaklogic.com>
Link: https://patch.msgid.link/20240625210203.522179-1-muditsharma.info@gmail.com
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2024-06-29 18:51:25 +01:00
..
accel iio: accel: fxls8962af: select IIO_BUFFER & IIO_KFIFO_BUF 2024-06-08 18:52:45 +01:00
adc iio: adc: ad7266: Fix variable checking bug 2024-06-08 18:26:57 +01:00
addac Char/Misc and other driver subsystem changes for 6.10-rc1 2024-05-22 12:26:46 -07:00
afe iio: afe: rescale: Accept only offset channels 2023-10-17 20:25:32 +01:00
amplifiers iio: amplifiers: hmc425a: add support for LTC6373 Instrumentation Amplifier 2024-02-28 19:26:36 +00:00
buffer iio: buffer-dmaengine: Enable write support 2024-04-20 15:41:32 +01:00
cdc
chemical iio: chemical: bme680: Fix sensor data read operation 2024-06-09 12:02:34 +01:00
common iio: invensense: fix odr switching to same value 2024-05-27 09:49:20 +01:00
dac iio: dac: fix ad9739a random config compile error 2024-06-09 10:41:30 +01:00
dummy iio: dummy: Use automatic lock and direct mode cleanup. 2024-02-17 16:16:10 +00:00
filter
frequency Char/Misc and other driver subsystem changes for 6.10-rc1 2024-05-22 12:26:46 -07:00
gyro i2c: mux: Remove class argument from i2c_mux_add_adapter() 2024-05-13 16:13:19 +02:00
health iio: health: max30102: add support for max30101 2024-03-28 13:22:15 +00:00
humidity iio: humidity: hdc3020: fix hysteresis representation 2024-06-09 11:05:03 +01:00
imu iio: imu: inv_mpu6050: stabilized timestamping in interrupt 2024-06-03 19:05:56 +01:00
light iio: light: apds9306: Fix error handing 2024-06-29 18:51:25 +01:00
magnetometer iio: magnetometer: add a driver for Voltafield AF8133J magnetometer 2024-02-28 19:26:37 +00:00
multiplexer
orientation
position
potentiometer iio: potentiometer: max5487: Drop ACPI_PTR() usage 2024-01-23 22:06:55 +00:00
potentiostat
pressure iio: pressure: bmp280: Fix BMP580 temperature reading 2024-05-27 09:49:20 +01:00
proximity iio: proximity: isl29501: make use of of_device_id table 2024-02-28 19:26:38 +00:00
resolver iio: resolver: ad2s1210: add reset gpio support 2023-11-16 19:10:25 +00:00
temperature iio: temperature: mlx90635: Fix ERR_PTR dereference in mlx90635_probe() 2024-05-27 09:49:20 +01:00
test iio: test: test gain-time-scale helpers 2024-02-17 16:16:09 +00:00
trigger iio: trigger: stm32-timer: Convert to platform remove callback returning void 2023-09-23 15:06:56 +01:00
iio_core_trigger.h
iio_core.h
industrialio-acpi.c iio: core: Add iio_read_acpi_mount_matrix() helper function 2024-04-29 20:53:25 +01:00
industrialio-backend.c iio: backend: add API for interface tuning 2024-04-29 20:53:26 +01:00
industrialio-buffer.c iio: buffer: initialize masklength accumulator to 0 2024-04-29 20:53:24 +01:00
industrialio-configfs.c
industrialio-core.c iio: core: move to cleanup.h magic 2024-03-25 20:10:14 +00:00
industrialio-event.c iio: event: add optional event label support 2023-10-11 15:54:41 +01:00
industrialio-gts-helper.c iio: gts-helper: Fix division loop 2024-02-19 19:32:12 +00:00
industrialio-sw-device.c
industrialio-sw-trigger.c
industrialio-trigger.c iio: trigger: Fix condition for own trigger 2024-06-17 20:49:02 +01:00
industrialio-triggered-event.c
inkern.c iio: inkern: fix channel read regression 2024-06-03 20:29:31 +01:00
Kconfig iio: add the IIO backend framework 2024-02-19 19:32:22 +00:00
Makefile iio: core: Add iio_read_acpi_mount_matrix() helper function 2024-04-29 20:53:25 +01:00
TODO