The unbalanced clk_prepare_enable/clk_disable_unprepare were found by Linux Driver Verification project (linuxtesting.org). While going through the report from LDV, the missing check of the return value from clk_prepare_enable() was found. Andreas Platschek (2): rtc: omap: check for clk_prepare_enable() error rtc: omap: fix unbalanced clk_prepare_enable/clk_disable_unprepare drivers/rtc/rtc-omap.c | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) -- 2.11.0