linux/drivers/iio
Cosmin Tanislav 78367c32be iio: adc: ad4130: only set GPIO_CTRL if pin is unused
Currently, GPIO_CTRL bits are set even if the pins are used for
measurements.

GPIO_CTRL bits should only be set if the pin is not used for
other functionality.

Fix this by only setting the GPIO_CTRL bits if the pin has no
other function.

Fixes: 62094060cf ("iio: adc: ad4130: add AD4130 driver")
Signed-off-by: Cosmin Tanislav <demonsingur@gmail.com>
Reviewed-by: Nuno Sa <nuno.sa@analog.com>
Link: https://lore.kernel.org/r/20240207132007.253768-2-demonsingur@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2024-02-10 16:52:39 +00:00
..
accel iio: accel: bma400: Fix a compilation problem 2024-02-04 15:16:43 +00:00
adc iio: adc: ad4130: only set GPIO_CTRL if pin is unused 2024-02-10 16:52:39 +00:00
addac
afe
amplifiers iio: amplifiers: hmc425a: add support for ADRF5740 Attenuator 2023-11-26 16:36:53 +00:00
buffer Char/Misc and other Driver changes for 6.8-rc1 2024-01-17 16:47:17 -08:00
cdc
chemical TTY/Serial changes for 6.8-rc1 2024-01-18 11:37:24 -08:00
common iio: common: ms_sensors: ms_sensors_i2c: fix humidity conversion time table 2023-11-16 19:35:41 +00:00
dac iio: dac: driver for MCP4821 2023-12-21 17:04:42 +00:00
dummy
filter
frequency iio: frequency: admv1014: Switch to device_property_match_property_string() 2023-11-16 19:10:26 +00:00
gyro
health
humidity iio: humidity: hdc3020: fix temperature offset 2024-01-27 14:40:07 +00:00
imu iio: imu: bno055: serdev requires REGMAP 2024-01-22 18:59:07 +00:00
light iio: hid-sensor-als: Return 0 for HID_USAGE_SENSOR_TIME_TIMESTAMP 2024-02-04 14:02:16 +00:00
magnetometer iio: magnetometer: rm3100: add boundary check for the value read from RM3100_REG_TMRC 2024-01-22 18:59:06 +00:00
multiplexer
orientation
position
potentiometer
potentiostat
pressure iio: pressure: bmp280: Add missing bmp085 to SPI id table 2024-01-22 18:59:06 +00:00
proximity iio: proximity: irsd200: Drop unused include 2023-12-04 13:24:42 +00:00
resolver iio: resolver: ad2s1210: add reset gpio support 2023-11-16 19:10:25 +00:00
temperature iio: temperature: mlx90635 MLX90635 IR Temperature sensor 2023-12-11 19:16:34 +00:00
test
trigger
iio_core.h
iio_core_trigger.h
industrialio-buffer.c iio: buffer: Use IIO_SEPARATE instead of a hard-coded 0 2023-12-21 10:48:29 +00:00
industrialio-configfs.c
industrialio-core.c iio: core: fix memleak in iio_device_register_sysfs 2024-01-22 18:59:06 +00:00
industrialio-event.c
industrialio-gts-helper.c
industrialio-sw-device.c
industrialio-sw-trigger.c
industrialio-trigger.c
industrialio-triggered-event.c
inkern.c
Kconfig
Makefile
TODO