Skip to content

Commit

Permalink
ARM: S3C64XX: Save/restore S3C64XX_SDMA_SEL on suspend/resume
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Tomasz Figa authored and Kukjin Kim committed Sep 19, 2011
1 parent 6d8d492 commit 348276f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arch/arm/mach-s3c64xx/pm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 348276f

Please sign in to comment.