]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
iio: adc: stm32-dfsdm: fix st,adc-alt-channel property handling
authorOlivier Moysan <olivier.moysan@foss.st.com>
Thu, 2 Oct 2025 11:22:49 +0000 (13:22 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Mon, 13 Oct 2025 07:38:08 +0000 (08:38 +0100)
commit8a6b7989ff0cd0a95c93be1927f2af7ad10f28de
treeba20092282b09ae43ec97a89fc3206896a7c8116
parent632757312d7eb320b66ca60e0cfe098ec53cee08
iio: adc: stm32-dfsdm: fix st,adc-alt-channel property handling

Initially st,adc-alt-channel property was defined as an enum in the DFSDM
binding. The DFSDM binding has been changed to use the new IIO backend
framework, along with the adoption of IIO generic channels.
In this new binding st,adc-alt-channel is defined as a boolean property,
but it is still handled has an enum in DFSDM driver.
Fix st,adc-alt-channel property handling in DFSDM driver.

Fixes: 3208fa0cd919 ("iio: adc: stm32-dfsdm: adopt generic channels bindings")
Signed-off-by: Olivier Moysan <olivier.moysan@foss.st.com>
Reviewed-by: Nuno Sá <nuno.sa@analog.com>
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/adc/stm32-dfsdm-adc.c