td8801:add i2c_sram for suspend may let mid cannot resume in suspend
authorhzf <hzf@rock-chips.com>
Mon, 6 Feb 2012 07:09:46 +0000 (15:09 +0800)
committerhzf <hzf@rock-chips.com>
Mon, 6 Feb 2012 07:10:45 +0000 (15:10 +0800)
arch/arm/mach-rk29/Kconfig
arch/arm/mach-rk29/pm.c

index 72c43c9186bdf70137637a9c183ec0c80f7d2d29..4c9d4bb99febcea070fbf8de028fe2b882caa6d1 100755 (executable)
@@ -225,11 +225,11 @@ config RK29_NEON_POWERDOMAIN_SET
 config RK29_SPI_INSRAM
        tristate "Support spi control interface"
        depends on REGULATOR_WM831X
-       default ns
+       default n
 config RK29_I2C_INSRAM
        tristate "Support i2c control interface"
        depends on REGULATOR_WM831X
-       default ns
+       default n
 config RK29_CHARGE_EARLYSUSPEND
        bool "Support charge in low power"
        default n
index a74be0da290b8787904cebfd57fe78f03fdff8f3..dd05338146d1efb955f36fc648d5c18a04e10da0 100755 (executable)
@@ -428,7 +428,7 @@ static int rk29_pm_enter(suspend_state_t state)
 
        sram_printch('0');
        flush_tlb_all();
-       #if defined(CONFIG_RK29_SPI_INSRAM)
+       #if defined(CONFIG_RK29_SPI_INSRAM) || defined(CONFIG_RK29_PWM_INSRAM)
        interface_ctr_reg_pread();
        #endif
        #if defined(CONFIG_RK29_I2C_INSRAM)