mirror of https://github.com/hak5/openwrt.git
do not call clk_put() on the timer clock
We don't support disabling the clock, but this is actually what it would do. Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 34394lede-17.01
parent
5d6208f34d
commit
d59ba20030
|
@ -111,7 +111,6 @@ static void __init mcs814x_timer_init(void)
|
||||||
panic("unable to get timer0 clock");
|
panic("unable to get timer0 clock");
|
||||||
|
|
||||||
clock_rate = clk_get_rate(clk);
|
clock_rate = clk_get_rate(clk);
|
||||||
clk_put(clk);
|
|
||||||
|
|
||||||
mcs814x_of_timer_init();
|
mcs814x_of_timer_init();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue