Commit 0ac49e03 authored by Guillaume Stols's avatar Guillaume Stols Committed by Greg Kroah-Hartman
Browse files

iio: adc: ad7606: fix standby gpio state to match the documentation



[ Upstream commit 059fe4f8 ]

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: 722407a4 ("staging:iio:ad7606: Use GPIO descriptor API")
Signed-off-by: default avatarGuillaume Stols <gstols@baylibre.com>
Reviewed-by: default avatarNuno Sa <nuno.sa@analog.com>
Signed-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 91cc4ec6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment