android_kernel_motorola_sm6375/drivers/iio
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Rodrigo Gobbi 206eed62a9 iio: adc: spear_adc: mask SPEAR_ADC_STATUS channel and avg sample before setting register
[ Upstream commit d75c7021c08e8ae3f311ef2464dca0eaf75fab9f ]

avg sample info is a bit field coded inside the following
bits: 5,6,7 and 8 of a device status register.

Channel num info the same, but over bits: 1, 2 and 3.

Mask both values in order to avoid touching other register bits,
since the first info (avg sample), came from DT.

Signed-off-by: Rodrigo Gobbi <[email protected]>
Reviewed-by: David Lechner <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jonathan Cameron <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
2025-12-03 12:45:09 +01:00
..
accel iio: adis16201: Correct inclinometer channel resolution 2025-06-04 14:32:26 +02:00
adc iio: adc: spear_adc: mask SPEAR_ADC_STATUS channel and avg sample before setting register 2025-12-03 12:45:09 +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: pms7003: use aligned_s64 for timestamp 2025-09-09 18:44:00 +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: ad5421: use int type to store negative error codes 2025-10-29 13:59:53 +01:00
dummy iio: dummy: iio_simply_dummy_buffer: fix information leak in triggered buffer 2025-02-01 18:18:47 +01:00
frequency iio: frequency: adf4350: Fix prescaler usage. 2025-10-29 13:59:53 +01:00
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: opt3001: fix deadlock due to concurrent flag access 2025-09-09 18:44:00 +02: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: Use aligned_s64 for the timestamp 2025-07-17 18:24:50 +02:00
proximity iio: proximity: isl29501: fix buffered read on big-endian systems 2025-08-28 16:21:32 +02: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: consumers: Fix offset handling in iio_convert_raw_to_processed() 2025-10-29 13:59:48 +01:00
Kconfig
Makefile