From: xsf@rock-chips.com Date: Fri, 15 Jul 2011 07:51:45 +0000 (+0800) Subject: phonesdk and A22: increasing the speed of resume X-Git-Tag: firefly_0821_release~10132^2 X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=514dce01b3eca19ac3d6270d5b404ed02fe643b3;p=firefly-linux-kernel-4.4.55.git phonesdk and A22: increasing the speed of resume --- diff --git a/arch/arm/mach-rk29/spi_sram.c b/arch/arm/mach-rk29/spi_sram.c index 55df65f26d1e..70808204c44b 100755 --- a/arch/arm/mach-rk29/spi_sram.c +++ b/arch/arm/mach-rk29/spi_sram.c @@ -568,7 +568,7 @@ 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); cru_writel(crumode, CRU_MODE_CON); //externel clk 24M #if defined (CONFIG_RK29_WORKING_POWER_MANAGEMENT) @@ -576,7 +576,7 @@ void __sramfunc pm_clk_switch_32k(void) #else pm_gpio_out_low(RK29_PIN4_PC0); //enable 27M #endif - sram_udelay(1000,27); + //sram_udelay(1000,27); sram_printch('7');