rk3188: dvfs: fix an writen error in dvfs.c

This commit is contained in:
chenxing
2013-01-26 15:24:11 +08:00
parent 72e9a61ef9
commit 92a8cef30a

View File

@@ -161,7 +161,7 @@ int dvfs_target(struct clk *clk, unsigned long rate_hz)
/* if down the rate */
if (rate_new < rate_old) {
ret = ret = dvfs_scale_volt_direct(dvfs_clk->vd, volt_new);
ret = dvfs_scale_volt_direct(dvfs_clk->vd, volt_new);
if (ret < 0)
goto out;
}