diff options
author | Tomasz Figa <tomasz.figa@gmail.com> | 2011-08-22 22:33:08 -0400 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2011-09-19 03:38:00 -0400 |
commit | 348276f4a37ab98559c8c63cbe2a122b7ff65421 (patch) | |
tree | 6e8c6f33cc221bf1e49635a109828d724e24c4e6 /arch/arm/mach-s3c64xx | |
parent | 6d8d492ef73433ea8debfba623dc2ee4d627aa7e (diff) |
ARM: S3C64XX: Save/restore S3C64XX_SDMA_SEL on suspend/resume
This patch makes sure that S3C64XX_SDMA_SEL register is preserved during
sleep mode, as it is critical for DMA operation and the DMA driver alone
does not provide any power management facilities.
Signed-off-by: Tomasz Figa <tomasz.figa@gmail.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/mach-s3c64xx')
-rw-r--r-- | arch/arm/mach-s3c64xx/pm.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-s3c64xx/pm.c b/arch/arm/mach-s3c64xx/pm.c index 055e2858b0dd..72e3ab2ac088 100644 --- a/arch/arm/mach-s3c64xx/pm.c +++ b/arch/arm/mach-s3c64xx/pm.c | |||
@@ -85,6 +85,8 @@ static struct sleep_save misc_save[] = { | |||
85 | SAVE_ITEM(S3C64XX_MEM0CONSLP0), | 85 | SAVE_ITEM(S3C64XX_MEM0CONSLP0), |
86 | SAVE_ITEM(S3C64XX_MEM0CONSLP1), | 86 | SAVE_ITEM(S3C64XX_MEM0CONSLP1), |
87 | SAVE_ITEM(S3C64XX_MEM1CONSLP), | 87 | SAVE_ITEM(S3C64XX_MEM1CONSLP), |
88 | |||
89 | SAVE_ITEM(S3C64XX_SDMA_SEL), | ||
88 | }; | 90 | }; |
89 | 91 | ||
90 | void s3c_pm_configure_extint(void) | 92 | void s3c_pm_configure_extint(void) |