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:
5675bfa
)
a22 and rk29 phonesdk:32K Frequency switch time cut short
author
张晴
<zhangqing@rock-chips.com>
Fri, 22 Jul 2011 08:55:58 +0000
(
01:55
-0700)
committer
张晴
<zhangqing@rock-chips.com>
Fri, 22 Jul 2011 08:55:58 +0000
(
01:55
-0700)
arch/arm/mach-rk29/spi_sram.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-rk29/spi_sram.c
b/arch/arm/mach-rk29/spi_sram.c
index 64246c8ec03c6f05e97cefe135dc02034003f7fa..9cb8299f60ff4b4d2f69f893a08f39b1da17325e 100755
(executable)
--- a/
arch/arm/mach-rk29/spi_sram.c
+++ b/
arch/arm/mach-rk29/spi_sram.c
@@
-588,13
+588,13
@@
void __sramfunc pm_clk_switch_32k(void)
asm("wfi");
pm_gpio_out_low(RK29_PIN4_PC5);//enable 24M
- sram_udelay(
1000,24);
+ sram_udelay(
20,24); //the system clock is 32.768K
cru_writel(crumode, CRU_MODE_CON); //externel clk 24M
#ifndef CONFIG_MACH_RK29_A22
pm_gpio_out_low(RK29_PIN4_PC0); //enable 27M
#endif
- sram_udelay(1000,27);
+
//
sram_udelay(1000,27);
sram_printch('7');