Thread (2 messages) flat view 2 messages, 2 authors, 2017-08-23

[PATCH] rtc: sa1100: fix unbalanced clk_prepare_enable/clk_disable_unprepare

From: robert.jarzmik@free.fr (Robert Jarzmik)
Date: 2017-08-23 19:33:08
Also in: linux-rtc, lkml

Alexandre Belloni [off-list ref] writes:
In the error path of sa1100_rtc_open(), info->clk is disabled which will
happen again in sa1100_rtc_remove() when the module is removed whereas it
is only enabled once in sa1100_rtc_init().

Fixes: 0cc0c38e9139 ("drivers/rtc/rtc-sa1100.c: move clock enable/disable to probe/remove")
Signed-off-by: Alexandre Belloni <redacted>
Acked-by: Robert Jarzmik <robert.jarzmik@free.fr>

Cheers.

--
Robert
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help