Files
linux/drivers
Fabrice Gasnier f4f94e9bae iio: adc: stm32: fix stm32h7_adc_enable error handling
commit a3b5655ebd upstream.

Error handling in stm32h7_adc_enable routine doesn't unwind enable
sequence correctly. ADEN can only be cleared by hardware (e.g. by
writing one to ADDIS).
It's also better to clear ADRDY just after it's been set by hardware.

Fixes: 95e339b6e8 ("iio: adc: stm32: add support for STM32H7")

Signed-off-by: Fabrice Gasnier <fabrice.gasnier@st.com>
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-02-28 10:19:40 +01:00
..
2018-02-25 11:07:52 +01:00
2017-12-14 09:53:13 +01:00
2018-02-25 11:07:57 +01:00
2018-02-25 11:07:55 +01:00
2017-12-29 17:53:46 +01:00
2018-01-17 09:45:27 +01:00
2018-02-25 11:07:59 +01:00
2018-02-25 11:08:03 +01:00