summaryrefslogtreecommitdiff
path: root/drivers/rtc/rtc-pm8xxx.c
diff options
context:
space:
mode:
authorFabrice Gasnier <fabrice.gasnier@st.com>2018-01-23 17:04:56 +0100
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2018-01-28 08:18:49 +0000
commita3b5655ebdb501a98a45c0d3265dca9f2fe0218a (patch)
treec2e24da39c7b99abb204770eabfc0555b2c513a8 /drivers/rtc/rtc-pm8xxx.c
parente31b617d0a63c6558485aaa730fd162faa95a766 (diff)
iio: adc: stm32: fix stm32h7_adc_enable error handling
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: 95e339b6e85d ("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>
Diffstat (limited to 'drivers/rtc/rtc-pm8xxx.c')
0 files changed, 0 insertions, 0 deletions