ARM: S3C64XX: Save/restore S3C64XX_MODEM_MIFPCON 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:05 +0000 (16:38 +0900)
This patch makes sure that the LCD bypass state is preserved during sleep mode.
It achieves this by saving the S3C64XX_MODEM_MIFPCON register, which is not
handled by any other code currently.

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 72e3ab2ac0884de145891c31840f957c8a74220a..b375cd5c47cb2ebe9f7b28ce2f7d0b6c0624ddc8 100644 (file)
@@ -29,6 +29,7 @@
 #include <mach/regs-clock.h>
 #include <mach/regs-syscon-power.h>
 #include <mach/regs-gpio-memport.h>
+#include <mach/regs-modem.h>
 
 #ifdef CONFIG_S3C_PM_DEBUG_LED_SMDK
 void s3c_pm_debug_smdkled(u32 set, u32 clear)
@@ -87,6 +88,7 @@ static struct sleep_save misc_save[] = {
        SAVE_ITEM(S3C64XX_MEM1CONSLP),
 
        SAVE_ITEM(S3C64XX_SDMA_SEL),
+       SAVE_ITEM(S3C64XX_MODEM_MIFPCON),
 };
 
 void s3c_pm_configure_extint(void)