]> www.infradead.org Git - users/jedix/linux-maple.git/commit
iio: adc: ad7606: fix standby gpio state to match the documentation
authorGuillaume Stols <gstols@baylibre.com>
Tue, 2 Jul 2024 17:34:11 +0000 (17:34 +0000)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Mon, 29 Jul 2024 19:31:12 +0000 (20:31 +0100)
commit059fe4f8bbdf5cad212e1aeeb3e8968c80b9ff3b
tree57870c281e9492dd412fb3dffd4f1581f2635978
parent8dc4594b54dbaaba40dc8884ad3d42083de39434
iio: adc: ad7606: fix standby gpio state to match the documentation

The binding's documentation specifies that "As the line is active low, it
should be marked GPIO_ACTIVE_LOW". However, in the driver, it was handled
the opposite way. This commit sets the driver's behaviour in sync with the
documentation

Fixes: 722407a4e8c0 ("staging:iio:ad7606: Use GPIO descriptor API")
Signed-off-by: Guillaume Stols <gstols@baylibre.com>
Reviewed-by: Nuno Sa <nuno.sa@analog.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/adc/ad7606.c