projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a46176
)
rk3188: fix i2s set cnt init error
author
chenxing
<chenxing@rock-chips.com>
Tue, 25 Jun 2013 01:57:59 +0000
(09:57 +0800)
committer
chenxing
<chenxing@rock-chips.com>
Tue, 25 Jun 2013 01:57:59 +0000
(09:57 +0800)
arch/arm/mach-rk3188/clock_data.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-rk3188/clock_data.c
b/arch/arm/mach-rk3188/clock_data.c
index 3814ed6521d39313ff85f0bfabd3c0f8af514f03..d51fe8e584395522ad7faab8e51e70fea0d99aab 100755
(executable)
--- a/
arch/arm/mach-rk3188/clock_data.c
+++ b/
arch/arm/mach-rk3188/clock_data.c
@@
-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 =
1
0;
//clk_i2s_div->clk_i2s_pll->gpll/cpll
//clk->parent->parent
if(frac_div_get_seting(rate, clk->parent->parent->rate,