rk3188: fix i2s set cnt init error
authorchenxing <chenxing@rock-chips.com>
Tue, 25 Jun 2013 01:57:59 +0000 (09:57 +0800)
committerchenxing <chenxing@rock-chips.com>
Tue, 25 Jun 2013 01:57:59 +0000 (09:57 +0800)
arch/arm/mach-rk3188/clock_data.c

index 3814ed6521d39313ff85f0bfabd3c0f8af514f03..d51fe8e584395522ad7faab8e51e70fea0d99aab 100755 (executable)
@@ -1938,7 +1938,7 @@ static struct clk clk_spdif_div = {
 static int clk_i2s_fracdiv_set_rate(struct clk *clk, unsigned long rate)
 {
        u32 numerator, denominator;
-       int i = 0;
+       int i = 10;
        //clk_i2s_div->clk_i2s_pll->gpll/cpll
        //clk->parent->parent
        if(frac_div_get_seting(rate, clk->parent->parent->rate,