aboutsummaryrefslogtreecommitdiff
path: root/lib/test-string_helpers.c
diff options
context:
space:
mode:
authorCosmin Tanislav <[email protected]>2024-02-07 15:20:06 +0200
committerJonathan Cameron <[email protected]>2024-02-10 16:52:39 +0000
commit78367c32bebfe833cd30c855755d863a4ff3fdee (patch)
treeda53b533f8fc96a15a205c2a0ae3355e99dcb9ee /lib/test-string_helpers.c
parenta22b0a2be69a36511cb5b37d948b651ddf7debf3 (diff)
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: 62094060cf3a ("iio: adc: ad4130: add AD4130 driver") Signed-off-by: Cosmin Tanislav <[email protected]> Reviewed-by: Nuno Sa <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions