From: chenxing Date: Sat, 26 Jan 2013 07:24:11 +0000 (+0800) Subject: rk3188: dvfs: fix an writen error in dvfs.c X-Git-Tag: firefly_0821_release~7757 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=92a8cef30a1dce5bc0afeb7355a81be8189a478e;p=firefly-linux-kernel-4.4.55.git rk3188: dvfs: fix an writen error in dvfs.c --- diff --git a/arch/arm/mach-rk3188/dvfs.c b/arch/arm/mach-rk3188/dvfs.c index 346bbd4e8445..a228645cf56d 100755 --- a/arch/arm/mach-rk3188/dvfs.c +++ b/arch/arm/mach-rk3188/dvfs.c @@ -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; }