projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'drm-intel-fixes-2014-08-08' of git://anongit.freedesktop.org/drm-intel
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
clocksource
/
timer-marco.c
diff --git
a/drivers/clocksource/timer-marco.c
b/drivers/clocksource/timer-marco.c
index dbd30398222a5268dce5ce5ced046a7789a5566e..330e93064692b881c1245dd2b4a64ab5a29cabd4 100644
(file)
--- a/
drivers/clocksource/timer-marco.c
+++ b/
drivers/clocksource/timer-marco.c
@@
-260,6
+260,9
@@
static void __init sirfsoc_marco_timer_init(struct device_node *np)
clk = of_clk_get(np, 0);
BUG_ON(IS_ERR(clk));
+
+ BUG_ON(clk_prepare_enable(clk));
+
rate = clk_get_rate(clk);
BUG_ON(rate < MARCO_CLOCK_FREQ);