]> www.infradead.org Git - users/jedix/linux-maple.git/commit
iio: adc: ad7173: fix GPIO device info
authorDumitru Ceclan <mitrutzceclan@gmail.com>
Fri, 9 Aug 2024 13:49:08 +0000 (16:49 +0300)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 17 Aug 2024 10:20:02 +0000 (11:20 +0100)
commitf242967f4d1c024ac42bb47ea50b6360b4cb4556
tree0315208ce9604f89c7ea30b3eff7ae9391c77cdf
parent61cbfb5368dd50ed0d65ce21d305aa923581db2b
iio: adc: ad7173: fix GPIO device info

Models AD4114/5/6 have .higher_gpio_bits = true. This is not correct as
the only models that have the GPIO bits to a higher position are AD4111/2.

Fix by removing the higher_gpio_bits = true from the AD4114/5/6 models.

Fixes: 13d12e3ad12d ("iio: adc: ad7173: Add support for AD411x devices")
Signed-off-by: Dumitru Ceclan <dumitru.ceclan@analog.com>
Link: https://patch.msgid.link/20240809134909.26829-1-dumitru.ceclan@analog.com
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/adc/ad7173.c