android_kernel_motorola_sm6375/drivers/iio
Repository files (latest commit first)
Filename Latest commit message Latest commit date
David Lechner 0068025928 iio: adc: ad7606_spi: fix reg write value mask
commit 89944d88f8795c6c89b9514cb365998145511cd4 upstream.

Fix incorrect value mask for register write. Register values are 8-bit,
not 9. If this function was called with a value > 0xFF and an even addr,
it would cause writing to the next register.

Fixes: f2a22e1e17 ("iio: adc: ad7606: Add support for software mode for ad7616")
Signed-off-by: David Lechner <dlechner@baylibre.com>
Reviewed-by: Angelo Dureghello <adureghello@baylibre.com>
Link: https://patch.msgid.link/20250428-iio-adc-ad7606_spi-fix-write-value-mask-v1-1-a2d5e85a809f@baylibre.com
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-06-27 11:02:52 +01:00
..
accel iio: adis16201: Correct inclinometer channel resolution 2025-06-04 14:32:26 +02:00
adc iio: adc: ad7606_spi: fix reg write value mask 2025-06-27 11:02:52 +01:00
addac
afe
amplifiers
buffer iio: buffer-dmaengine: fix releasing dma channel on error 2024-09-12 11:03:55 +02:00
chemical iio: chemical: sps30: use aligned_s64 for timestamp 2025-06-04 14:32:28 +02:00
common iio: hid-sensors: Fix an error handling path in _hid_sensor_set_report_latency() 2024-11-08 16:20:48 +01:00
dac iio: dac: stm32-dac-core: add missing select REGMAP_MMIO in Kconfig 2024-11-08 16:20:48 +01:00
dummy iio: dummy: iio_simply_dummy_buffer: fix information leak in triggered buffer 2025-02-01 18:18:47 +01:00
frequency
gyro iio: gyro: fxas21002c: Fix missing data update in trigger handler 2025-02-01 18:18:48 +01:00
health
humidity
imu iio: imu: st_lsm6dsx: fix possible lockup in st_lsm6dsx_read_tagged_fifo 2025-06-04 14:32:27 +02:00
light iio: light: vcnl4035: fix information leak in triggered buffer 2025-02-01 18:18:47 +01:00
magnetometer iio: magnetometer: ak8975: Fix reading for ak099xx sensors 2024-11-08 16:20:41 +01:00
multiplexer
orientation
potentiometer
potentiostat
pressure iio: pressure: zpa2326: fix information leak in triggered buffer 2025-02-01 18:18:47 +01:00
proximity iio: proximity: mb1232: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig 2024-11-08 16:20:48 +01:00
resolver
temperature
trigger
iio_core.h
iio_core_trigger.h
industrialio-buffer.c
industrialio-configfs.c
industrialio-core.c
industrialio-event.c
industrialio-sw-device.c
industrialio-sw-trigger.c
industrialio-trigger.c
industrialio-triggered-event.c
inkern.c iio: inkern: call iio_device_put() only on mapped devices 2025-02-01 18:18:48 +01:00
Kconfig
Makefile