summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDeepesh Gujarathi <dgujarathi@nvidia.com>2010-05-17 20:25:21 +0530
committerGary King <gking@nvidia.com>2010-05-17 15:05:23 -0700
commitb42da727f2243bad6801adb704fedaf16fa8fb7f (patch)
treec4eda53a8be8a8839cfa37be005129a03c476293
parent5e337a4f2e855515dab8c0bac217c8db500d7841 (diff)
tegra mmc: enable MMC_UNSAFE_RESUME config for tegra_harmony_android
Normally, when the system goes into suspend, all the storage cards are removed and later re-enumerated upon resume. During re-enumeration the device name and number are not guaranteed to be the same as they were during bootup. This can cause data corruption on cards. When the MMC_UNSAFE_RESUME config is enabled, it will prevent kernel from unmounting the mmc cards before suspend. Upon resume the cards will still be using the same device id as they were before suspend. This change seems to fix a lot of mmc related issues that occur during LP0 transitions. partial fix for Bug 679959 Change-Id: Ib90f95ebbc81c5b6e9e83e740ece31f914a262eb Reviewed-on: http://git-master/r/1412 Reviewed-by: Narendra Damahe <ndamahe@nvidia.com> Tested-by: Narendra Damahe <ndamahe@nvidia.com> Reviewed-by: Gary King <gking@nvidia.com>
-rw-r--r--arch/arm/configs/tegra_harmony_android_defconfig4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/configs/tegra_harmony_android_defconfig b/arch/arm/configs/tegra_harmony_android_defconfig
index ee68bb3ccab7..8aec13ebb57e 100644
--- a/arch/arm/configs/tegra_harmony_android_defconfig
+++ b/arch/arm/configs/tegra_harmony_android_defconfig
@@ -1,7 +1,7 @@
#
# Automatically generated make config: don't edit
# Linux kernel version: 2.6.29
-# Thu May 13 11:37:42 2010
+# Mon May 17 20:18:35 2010
#
CONFIG_ARM=y
CONFIG_SYS_SUPPORTS_APM_EMULATION=y
@@ -1519,7 +1519,7 @@ CONFIG_UDC_FSL_NR_ENDPOINTS=32
CONFIG_MMC=y
CONFIG_EMBEDDED_MMC_START_OFFSET=y
# CONFIG_MMC_DEBUG is not set
-# CONFIG_MMC_UNSAFE_RESUME is not set
+CONFIG_MMC_UNSAFE_RESUME=y
# CONFIG_MMC_EMBEDDED_SDIO is not set
# CONFIG_MMC_PARANOID_SD_INIT is not set