On Tue, Jan 18, 2011 at 12:22 PM, Kevin Hilman <[email protected]> wrote: > Hi Steve, > > Steve Chen <[email protected]> writes: > > [...] > >> The problem was caused by root filesystem mounted on MMC/SD. When the >> processor goes to the standby mode, the MMC/SD device was removed as >> part of the suspend process. This, unfortunately, hangs the kernel. > > Try enabling CONFIG_MMC_UNSAFE_RESUME: > > config MMC_UNSAFE_RESUME > bool "Assume MMC/SD cards are non-removable (DANGEROUS)" > help > If you say Y here, the MMC layer will assume that all cards > stayed in their respective slots during the suspend. The > normal behaviour is to remove them at suspend and > redetecting them at resume. Breaking this assumption will > in most cases result in data corruption. > > This option is usually just for embedded systems which use > a MMC/SD card for rootfs. Most people should say N here. > > This option sets a default which can be overridden by the > module parameter "removable=0" or "removable=1".
Kevin, Sleep/resume works great after enabling the kernel option. Thanks, Steve _______________________________________________ Davinci-linux-open-source mailing list [email protected] http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
