aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/mach-omap2/dpll3xxx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/dpll3xxx.c b/arch/arm/mach-omap2/dpll3xxx.c
index 6b0fa3786022..73a1595c5f21 100644
--- a/arch/arm/mach-omap2/dpll3xxx.c
+++ b/arch/arm/mach-omap2/dpll3xxx.c
@@ -455,7 +455,7 @@ int omap3_noncore_dpll_set_rate(struct clk *clk, unsigned long rate)
455 new_parent = dd->clk_bypass; 455 new_parent = dd->clk_bypass;
456 } else { 456 } else {
457 if (dd->last_rounded_rate != rate) 457 if (dd->last_rounded_rate != rate)
458 clk->round_rate(clk, rate); 458 rate = clk->round_rate(clk, rate);
459 459
460 if (dd->last_rounded_rate == 0) 460 if (dd->last_rounded_rate == 0)
461 return -EINVAL; 461 return -EINVAL;