[Linux-stm32] [PATCH] rtc: stm32: add missed clk_disable_unprepare in error path of resume
Alexandre Belloni
alexandre.belloni at bootlin.com
Tue Dec 10 13:29:36 UTC 2019
On 06/12/2019 00:06:55+0800, Chuhong Yuan wrote:
> The resume() forgets to call clk_disable_unprepare() when failed.
> Add the missed call to fix it.
>
> Signed-off-by: Chuhong Yuan <hslester96 at gmail.com>
> ---
> drivers/rtc/rtc-stm32.c | 5 ++++-
> 1 file changed, 4 insertions(+), 1 deletion(-)
>
Applied, thanks.
--
Alexandre Belloni, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
More information about the Linux-stm32
mailing list