Patchwork [meta-fsl-arm] ARM: mxs_defconfig: Select CONFIG_MMC_UNSAFE_RESUME

login
register
mail settings
Submitter Fabio Estevam
Date Feb. 22, 2013, 6:49 p.m.
Message ID <1361558975-2850-1-git-send-email-fabio.estevam@freescale.com>
Download mbox | patch
Permalink /patch/45009/
State Superseded
Delegated to: Otavio Salvador
Headers show

Comments

Fabio Estevam - Feb. 22, 2013, 6:49 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>
---
 recipes-kernel/linux/linux-fslc/mxs/defconfig |    1 +
 1 file changed, 1 insertion(+)
Otavio Salvador - Feb. 22, 2013, 7:34 p.m.
On Fri, Feb 22, 2013 at 3:49 PM, Fabio Estevam
<fabio.estevam@freescale.com> 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>

I have added it to the queue with the 3.8 update; will send it later today.

Patch

diff --git a/recipes-kernel/linux/linux-fslc/mxs/defconfig b/recipes-kernel/linux/linux-fslc/mxs/defconfig
index 3c344ba..57592e2 100644
--- a/recipes-kernel/linux/linux-fslc/mxs/defconfig
+++ b/recipes-kernel/linux/linux-fslc/mxs/defconfig
@@ -125,6 +125,7 @@  CONFIG_USB_MXS_PHY=y
 CONFIG_SCSI=y
 CONFIG_BLK_DEV_SD=y
 CONFIG_MMC=y
+CONFIG_MMC_UNSAFE_RESUME=y
 CONFIG_MMC_MXS=y
 CONFIG_NEW_LEDS=y
 CONFIG_LEDS_CLASS=y