summaryrefslogtreecommitdiff
path: root/drivers/clocksource/asm9260_timer.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/clocksource/asm9260_timer.c')
-rw-r--r--drivers/clocksource/asm9260_timer.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/clocksource/asm9260_timer.c b/drivers/clocksource/asm9260_timer.c
index 5b39d3701fa3..8f97ab0b01ec 100644
--- a/drivers/clocksource/asm9260_timer.c
+++ b/drivers/clocksource/asm9260_timer.c
@@ -210,6 +210,7 @@ static int __init asm9260_timer_init(struct device_node *np)
DRIVER_NAME, &event_dev);
if (ret) {
pr_err("Failed to setup irq!\n");
+ clk_disable_unprepare(clk);
return ret;
}