diff mbox

[3/5] ARM: s3c64xx: Save/restore S3C64XX_SDMA_SEL on suspend/resume.

Message ID 2292033.MTqcfUpbRd@flatron (mailing list archive)
State New, archived
Headers show

Commit Message

Tomasz Figa July 29, 2011, 4:06 p.m. UTC
From 676f9f7d765ec1ee613ba28ddaaad200ca7030fb Mon Sep 17 00:00:00 2001
From: Tomasz Figa <tomasz.figa@gmail.com>
Date: Thu, 21 Jul 2011 14:57:35 +0200
Subject: [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(-)
diff mbox

Patch

diff --git a/arch/arm/mach-s3c64xx/pm.c b/arch/arm/mach-s3c64xx/pm.c
index 799a212..9756321 100644
--- a/arch/arm/mach-s3c64xx/pm.c
+++ b/arch/arm/mach-s3c64xx/pm.c
@@ -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)