mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-27 21:44:04 +02:00
[mcs814x] 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34394 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
e91eb83f16
commit
140306fae8
@ -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
Block a user