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:
675caf3
)
rk3066b: fix pll wait lock shift error
author
chenxing
<chenxing@rock-chips.com>
Wed, 5 Sep 2012 03:22:27 +0000
(11:22 +0800)
committer
chenxing
<chenxing@rock-chips.com>
Wed, 5 Sep 2012 03:22:27 +0000
(11:22 +0800)
arch/arm/mach-rk30/clock_data-rk3066b.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-rk30/clock_data-rk3066b.c
b/arch/arm/mach-rk30/clock_data-rk3066b.c
index 819d3731b6d99d46a1aaf1b2a2093a4bdef695ec..a88ce29d7ec0a4774dbf648415707b3c4d0a0f36 100644
(file)
--- a/
arch/arm/mach-rk30/clock_data-rk3066b.c
+++ b/
arch/arm/mach-rk30/clock_data-rk3066b.c
@@
-524,7
+524,7
@@
static int frac_div_get_seting(unsigned long rate_out, unsigned long rate,
static void pll_wait_lock(int pll_idx)
{
u32 pll_state[4] = {1, 0, 2, 3};
- u32 bit = 0x
1
0u << pll_state[pll_idx];
+ u32 bit = 0x
2
0u << pll_state[pll_idx];
int delay = 24000000;
while (delay > 0) {
if (regfile_readl(GRF_SOC_STATUS0) & bit)