diff options
Diffstat (limited to 'arch/arm/mach-omap2/clock.c')
-rw-r--r-- | arch/arm/mach-omap2/clock.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/arch/arm/mach-omap2/clock.c b/arch/arm/mach-omap2/clock.c index a5b9564ea78..b57ffb5a22a 100644 --- a/arch/arm/mach-omap2/clock.c +++ b/arch/arm/mach-omap2/clock.c | |||
@@ -111,14 +111,6 @@ u32 omap2_get_dpll_rate(struct clk *clk) | |||
111 | dpll_clk = (long long)clk->parent->rate * dpll_mult; | 111 | dpll_clk = (long long)clk->parent->rate * dpll_mult; |
112 | do_div(dpll_clk, dpll_div + 1); | 112 | do_div(dpll_clk, dpll_div + 1); |
113 | 113 | ||
114 | /* 34XX only */ | ||
115 | if (dd->div2_reg) { | ||
116 | dpll = __raw_readl(dd->div2_reg); | ||
117 | dpll_div = dpll & dd->div2_mask; | ||
118 | dpll_div >>= __ffs(dd->div2_mask); | ||
119 | do_div(dpll_clk, dpll_div + 1); | ||
120 | } | ||
121 | |||
122 | return dpll_clk; | 114 | return dpll_clk; |
123 | } | 115 | } |
124 | 116 | ||