]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARM: S3C64XX: Save/restore S3C64XX_SDMA_SEL on suspend/resume
authorTomasz Figa <tomasz.figa@gmail.com>
Tue, 23 Aug 2011 02:33:08 +0000 (11:33 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Mon, 19 Sep 2011 07:38:00 +0000 (16:38 +0900)
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>
arch/arm/mach-s3c64xx/pm.c

index 055e2858b0dd9a31c027ecd8d7032d6ecefbddc7..72e3ab2ac0884de145891c31840f957c8a74220a 100644 (file)
@@ -85,6 +85,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)