Patchwork [meta-fsl-arm,2/4] linux-fslc: mxs/defconfig: Select CONFIG_MMC_UNSAFE_RESUME

login
register
mail settings
Submitter Otavio Salvador
Date Feb. 26, 2013, 8:04 p.m.
Message ID <1361909054-10646-2-git-send-email-otavio@ossystems.com.br>
Download mbox | patch
Permalink /patch/45147/
State Accepted
Delegated to: Otavio Salvador
Headers show

Comments

Otavio Salvador - Feb. 26, 2013, 8:04 p.m.
From: Fabio Estevam <fabio.estevam@freescale.com>

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.

Change-Id: I2fa0724895bfac9848c3c5664b09693e013771d2
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. 27, 2013, 12:39 p.m.
On Tue, Feb 26, 2013 at 5:04 PM, Otavio Salvador
<otavio@ossystems.com.br> wrote:
> From: Fabio Estevam <fabio.estevam@freescale.com>
>
> 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.
>
> Change-Id: I2fa0724895bfac9848c3c5664b09693e013771d2
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>

Applied to master.


--
Otavio Salvador                             O.S. Systems
E-mail: otavio@ossystems.com.br  http://www.ossystems.com.br
Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br

Patch

diff --git a/recipes-kernel/linux/linux-fslc/mxs/defconfig b/recipes-kernel/linux/linux-fslc/mxs/defconfig
index 1343c67..c4828d4 100644
--- a/recipes-kernel/linux/linux-fslc/mxs/defconfig
+++ b/recipes-kernel/linux/linux-fslc/mxs/defconfig
@@ -123,6 +123,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