diff options
author | Guoqing Jiang <b22156@freescale.com> | 2009-08-27 18:15:36 +0800 |
---|---|---|
committer | Xiexiaobo <X.Xie@freescale.com> | 2009-08-27 18:20:31 +0800 |
commit | 0958c65779eb06bf54c7862309e7ff7b535a5367 (patch) | |
tree | 1fcabd36c5a673685a6600bee8d4c0b742c8c8af /arch/arm/mach-mx25 | |
parent | 58b44853f0a417864fb46e59c877edf0536c061a (diff) |
ENGR00115147 MX25: The audio cannot keep up playing after suspend and resume
CGCR0 and CGCR2 registers in CCM are wrong when do suspend operation in pm.c.
Fix it with right register values.
Signed-off-by: Guoqing Jiang <b22156@freescale.com>
Diffstat (limited to 'arch/arm/mach-mx25')
-rw-r--r-- | arch/arm/mach-mx25/pm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-mx25/pm.c b/arch/arm/mach-mx25/pm.c index 942364d2502f..4a053d0d639b 100644 --- a/arch/arm/mach-mx25/pm.c +++ b/arch/arm/mach-mx25/pm.c @@ -45,7 +45,7 @@ static int mx25_suspend_enter(suspend_state_t state) /* Executing CP15 (Wait-for-Interrupt) Instruction */ cpu_do_idle(); - reg = (__raw_readl(MXC_CCM_CGCR0) & ~MXC_CCM_CGCR1_STOP_MODE_MASK) | + reg = (__raw_readl(MXC_CCM_CGCR0) & ~MXC_CCM_CGCR0_STOP_MODE_MASK) | cgcr0; __raw_writel(reg, MXC_CCM_CGCR0); @@ -53,7 +53,7 @@ static int mx25_suspend_enter(suspend_state_t state) cgcr1; __raw_writel(reg, MXC_CCM_CGCR1); - reg = (__raw_readl(MXC_CCM_CGCR2) & ~MXC_CCM_CGCR1_STOP_MODE_MASK) | + reg = (__raw_readl(MXC_CCM_CGCR2) & ~MXC_CCM_CGCR2_STOP_MODE_MASK) | cgcr2; __raw_writel(reg, MXC_CCM_CGCR2); |