diff options
author | Balaji T K <balajitk@ti.com> | 2011-05-30 10:25:34 -0400 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2011-06-01 05:25:04 -0400 |
commit | b1c1df7a7d50bf94de89704e963467bc94b1fef9 (patch) | |
tree | be95cd2ed5cc248ac22cb31f3e6da382b135f41f /arch/arm/mach-omap2/hsmmc.c | |
parent | e68273baf30390e9c907831b47384085c7f664d5 (diff) |
ARM: OMAP4: MMC: no regulator off during probe for eMMC
eMMC does not handle power off when not in sleep state,
Skip regulator disable during probe when eMMC is
not in known state - state left by bootloader.
Resolves eMMC failure on OMAP4
mmc0: error -110 whilst initialising MMC card
Signed-off-by: Balaji T K <balajitk@ti.com>
Tested-by: Kishore Kadiyala <kishore.kadiyala@ti.com>
Acked-by: Kishore Kadiyala <kishore.kadiyala@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/hsmmc.c')
-rw-r--r-- | arch/arm/mach-omap2/hsmmc.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/hsmmc.c b/arch/arm/mach-omap2/hsmmc.c index b2f30bed5a20..857f7daa3286 100644 --- a/arch/arm/mach-omap2/hsmmc.c +++ b/arch/arm/mach-omap2/hsmmc.c | |||
@@ -331,6 +331,9 @@ static int __init omap_hsmmc_pdata_init(struct omap2_hsmmc_info *c, | |||
331 | if (c->no_off) | 331 | if (c->no_off) |
332 | mmc->slots[0].no_off = 1; | 332 | mmc->slots[0].no_off = 1; |
333 | 333 | ||
334 | if (c->no_off_init) | ||
335 | mmc->slots[0].no_regulator_off_init = c->no_off_init; | ||
336 | |||
334 | if (c->vcc_aux_disable_is_sleep) | 337 | if (c->vcc_aux_disable_is_sleep) |
335 | mmc->slots[0].vcc_aux_disable_is_sleep = 1; | 338 | mmc->slots[0].vcc_aux_disable_is_sleep = 1; |
336 | 339 | ||