From 9897dec869bfc54f704fd07dc85800aad2e37250 Mon Sep 17 00:00:00 2001 From: Jan Weitzel Date: Tue, 28 May 2013 13:51:43 +0200 Subject: [PATCH] twl6030: Set WR_S for VMMC After Reset VMMC goes to default VSEL. This is not a clean power cycle for some SD cards. Set flag WR_S for VMMC to avoid going to default VSEL. Signed-off-by: Jan Weitzel Signed-off-by: Sascha Hauer --- arch/arm/mach-omap/omap4_twl6030_mmc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-omap/omap4_twl6030_mmc.c b/arch/arm/mach-omap/omap4_twl6030_mmc.c index 3d34a4463..155add6ea 100644 --- a/arch/arm/mach-omap/omap4_twl6030_mmc.c +++ b/arch/arm/mach-omap/omap4_twl6030_mmc.c @@ -43,6 +43,7 @@ void set_up_mmc_voltage_omap4(void) writel(value, OMAP4_CONTROL_PBIASLITE); twl6030_mci_write(TWL6030_PMCS_VMMC_CFG_VOLTAGE, + TWL6030_VMMC_WR_S | TWL6030_VMMC_VSEL_0 | TWL6030_VMMC_VSEL_2 | TWL6030_VMMC_VSEL_4); twl6030_mci_write(TWL6030_PMCS_VMMC_CFG_STATE,