diff options
Diffstat (limited to 'arch/arm/mach-omap2/clock.c')
-rw-r--r-- | arch/arm/mach-omap2/clock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/clock.c b/arch/arm/mach-omap2/clock.c index a921efd43a70..b76c9fc1b8e9 100644 --- a/arch/arm/mach-omap2/clock.c +++ b/arch/arm/mach-omap2/clock.c | |||
@@ -122,7 +122,7 @@ u32 omap2_get_dpll_rate(struct clk *clk) | |||
122 | if (dd->div2_reg) { | 122 | if (dd->div2_reg) { |
123 | dpll = __raw_readl(dd->div2_reg); | 123 | dpll = __raw_readl(dd->div2_reg); |
124 | dpll_div = dpll & dd->div2_mask; | 124 | dpll_div = dpll & dd->div2_mask; |
125 | dpll_div >>= __fss(dd->div2_mask); | 125 | dpll_div >>= __ffs(dd->div2_mask); |
126 | do_div(dpll_clk, dpll_div + 1); | 126 | do_div(dpll_clk, dpll_div + 1); |
127 | } | 127 | } |
128 | 128 | ||