aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/clock.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-omap2/clock.c')
-rw-r--r--arch/arm/mach-omap2/clock.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/clock.c b/arch/arm/mach-omap2/clock.c
index 5cb2dcb5b23e..61ee23596ea8 100644
--- a/arch/arm/mach-omap2/clock.c
+++ b/arch/arm/mach-omap2/clock.c
@@ -249,6 +249,11 @@ u32 omap2_get_dpll_rate(struct clk *clk)
249 if (v == OMAP3XXX_EN_DPLL_LPBYPASS || 249 if (v == OMAP3XXX_EN_DPLL_LPBYPASS ||
250 v == OMAP3XXX_EN_DPLL_FRBYPASS) 250 v == OMAP3XXX_EN_DPLL_FRBYPASS)
251 return dd->clk_bypass->rate; 251 return dd->clk_bypass->rate;
252 } else if (cpu_is_omap44xx()) {
253 if (v == OMAP4XXX_EN_DPLL_LPBYPASS ||
254 v == OMAP4XXX_EN_DPLL_FRBYPASS ||
255 v == OMAP4XXX_EN_DPLL_MNBYPASS)
256 return dd->clk_bypass->rate;
252 } 257 }
253 258
254 v = __raw_readl(dd->mult_div1_reg); 259 v = __raw_readl(dd->mult_div1_reg);