mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-11-09 04:12:08 -05:00
clk: at91: sckc: add support to free slow oscillator
Add support to free slow oscillator resources. Signed-off-by: Claudiu Beznea <[email protected]> Reviewed-by: Alexandre Belloni <[email protected]> Signed-off-by: Stephen Boyd <[email protected]>
This commit is contained in:
parent
04bcc4275e
commit
7fb791d079
1 changed files with 8 additions and 0 deletions
|
|
@ -161,6 +161,14 @@ at91_clk_register_slow_osc(void __iomem *sckcr,
|
|||
return hw;
|
||||
}
|
||||
|
||||
static void at91_clk_unregister_slow_osc(struct clk_hw *hw)
|
||||
{
|
||||
struct clk_slow_osc *osc = to_clk_slow_osc(hw);
|
||||
|
||||
clk_hw_unregister(hw);
|
||||
kfree(osc);
|
||||
}
|
||||
|
||||
static unsigned long clk_slow_rc_osc_recalc_rate(struct clk_hw *hw,
|
||||
unsigned long parent_rate)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue