Patchwork ARM: mxs_defconfig: Select CONFIG_MMC_UNSAFE_RESUME

login
register
mail settings
Submitter Fabio Estevam
Date Feb. 22, 2013, 6:10 p.m.
Message ID <1361556622-2550-1-git-send-email-fabio.estevam@freescale.com>
Download mbox | patch
Permalink /patch/222599/
State New
Headers show

Comments

Fabio Estevam - Feb. 22, 2013, 6:10 p.m.
PM subsystem treats mmc card as removed during suspend.

If MMC is used to store the root file system, it is better to tell the kernel
not to treat it as a removable media, so select CONFIG_MMC_UNSAFE_RESUME for
such purpose.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
 arch/arm/configs/mxs_defconfig |    1 +
 1 file changed, 1 insertion(+)
Shawn Guo - Feb. 25, 2013, 3:41 a.m.
On Fri, Feb 22, 2013 at 03:10:22PM -0300, Fabio Estevam wrote:
> PM subsystem treats mmc card as removed during suspend.
> 
> If MMC is used to store the root file system, it is better to tell the kernel
> not to treat it as a removable media, so select CONFIG_MMC_UNSAFE_RESUME for
> such purpose.
> 
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>

Queued for 3.10, thanks.

Patch

diff --git a/arch/arm/configs/mxs_defconfig b/arch/arm/configs/mxs_defconfig
index fbbc5bb..6715538 100644
--- a/arch/arm/configs/mxs_defconfig
+++ b/arch/arm/configs/mxs_defconfig
@@ -121,6 +121,7 @@  CONFIG_USB_CHIPIDEA_HOST=y
 CONFIG_USB_STORAGE=y
 CONFIG_USB_MXS_PHY=y
 CONFIG_MMC=y
+CONFIG_MMC_UNSAFE_RESUME=y
 CONFIG_MMC_MXS=y
 CONFIG_NEW_LEDS=y
 CONFIG_LEDS_CLASS=y