]> asedeno.scripts.mit.edu Git - linux.git/commit
iio: adc: stm32-dfsdm: fix call to stop channel
authorFabrice Gasnier <fabrice.gasnier@st.com>
Fri, 23 Feb 2018 12:50:56 +0000 (13:50 +0100)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 24 Feb 2018 12:57:11 +0000 (12:57 +0000)
commitc278609bdde9df330b7fe3d61ec1bc1a8cac4a78
tree8965f888ffda91e8bdcaf37444bc8585a7e3288c
parent4e4f9fbc5620a060dc7d3a651cdfb001c1d7c2f9
iio: adc: stm32-dfsdm: fix call to stop channel

stm32_dfsdm_stop_channel must be called with channel id, not filter id.

Fixes: e2e6771c6462 ("IIO: ADC: add STM32 DFSDM sigma delta ADC support")
Signed-off-by: Fabrice Gasnier <fabrice.gasnier@st.com>
Acked-by: Arnaud Pouliquen <arnaud.pouliquen@st.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/adc/stm32-dfsdm-adc.c