From: 许盛飞 Date: Tue, 2 Sep 2014 07:07:26 +0000 (+0800) Subject: rk312x: not gating gpios clock X-Git-Tag: firefly_0821_release~4769^2~5 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=eb09839d7cf6793077ec4f5cdf342f95037176da;p=firefly-linux-kernel-4.4.55.git rk312x: not gating gpios clock Signed-off-by: 许盛飞 --- diff --git a/arch/arm/mach-rockchip/pm-rk312x.c b/arch/arm/mach-rockchip/pm-rk312x.c index d0c51dea90fe..b5842f512368 100644 --- a/arch/arm/mach-rockchip/pm-rk312x.c +++ b/arch/arm/mach-rockchip/pm-rk312x.c @@ -910,7 +910,7 @@ void PIE_FUNC(pwm_regulator_suspend)(void) int clk_gates8; clk_gates8 = cru_readl(0xf0); - cru_writel(0x1e001e00, 0xf0); + cru_writel(0x1e000000, 0xf0); if (rkpm_chk_sram_ctrbit(RKPM_CTR_VOL_PWM0)) { grf_writel(0x00100000, 0xb4);/*iomux gpio0d2*/ gpio0_inout = readl_relaxed(RK_GPIO_VIRT(0) + 0x04); @@ -950,7 +950,7 @@ void PIE_FUNC(pwm_regulator_resume)(void) int clk_gates8; clk_gates8 = cru_readl(0xf0); - cru_writel(0x1e001e00, 0xf0); + cru_writel(0x1e000000, 0xf0); if (rkpm_chk_sram_ctrbit(RKPM_CTR_VOL_PWM0)) { gpio0_inout = readl_relaxed(RK_GPIO_VIRT(0) + 0x04); gpio0_ddr = readl_relaxed(RK_GPIO_VIRT(0));