Skip to contentSkip to conversation

ARM: s3c64xx: Save/restore S3C64XX_SDMA_SEL on suspend/resume.

PATCH New Tomasz Figa 1 participant 1 message Jul 21, 2011

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 3/5 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.

---
 arch/arm/mach-s3c64xx/pm.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
arch/arm/mach-s3c64xx/pm.c +2 -0
index 799a212..9756321 100644
@@ -86,6 +86,8 @@ static struct sleep_save misc_save[] = {
 	SAVE_ITEM(S3C64XX_MEM0CONSLP0),
 	SAVE_ITEM(S3C64XX_MEM0CONSLP1),
 	SAVE_ITEM(S3C64XX_MEM1CONSLP),
+
+	SAVE_ITEM(S3C64XX_SDMA_SEL),
 };
 
 void s3c_pm_configure_extint(void)
Signature · 1 line
1.7.6