commit | 1cf85b2327a9b03bde5266e72ee64a38d085256d | [log] [tgz] |
---|---|---|
author | Alexandre Belloni <alexandre.belloni@free-electrons.com> | Mon Aug 21 18:00:38 2017 +0200 |
committer | Alexandre Belloni <alexandre.belloni@free-electrons.com> | Thu Aug 24 11:03:35 2017 +0200 |
tree | 8cfb598b080292e5d713083d7c764afd76f113c4 | |
parent | 56c0c529848c853bc1049e271975917e8c9f4389 [diff] |
rtc: sa1100: fix unbalanced clk_prepare_enable/clk_disable_unprepare 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") Acked-by: Robert Jarzmik <robert.jarzmik@free.fr> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>