rk: fix compile warning of plat-rk/clock.c
authorchenxing <chenxing@rock-chips.com>
Tue, 21 May 2013 02:23:45 +0000 (10:23 +0800)
committerchenxing <chenxing@rock-chips.com>
Tue, 21 May 2013 02:23:45 +0000 (10:23 +0800)
arch/arm/plat-rk/clock.c

index 473d161354a8aff37de5731eac02f5ac8a977b19..4d674327c29a49068d2c8538c594ef73e2a8e7ef 100644 (file)
@@ -492,8 +492,10 @@ void clk_disable(struct clk *clk)
 {
        if (clk == NULL || IS_ERR(clk))
                return;
-       if (dvfs_support_clk_disable(clk->dvfs_info)==true)
-               return dvfs_vd_clk_disable(clk, 0);
+       if (dvfs_support_clk_disable(clk->dvfs_info) == true) {
+               dvfs_vd_clk_disable(clk, 0);
+               return;
+       }
 
        LOCK();
        clk_disable_nolock(clk);