aboutsummaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorMathieu J. Poirier <mathieu.poirier@canonical.com>2010-08-17 11:16:41 -0400
committerLeann Ogasawara <leann.ogasawara@canonical.com>2012-05-21 06:44:44 -0700
commita17a6c6957a7f39918a7a7b8a2bd0571c5811c2d (patch)
treef0d98e9ebac1ddb4549aa508cc125c814c4d3129 /drivers
parentbcaf1da036669fe7b27be811cfed90197e1eb0fe (diff)
UBUNTU: SAUCE: (no-up) ARM: Resetting power_mode to its original value.
This reverts the second part of patch: commit 6da20c89af64b75302399369a90b9d50c1a87665 Author: Adrian Hunter <adrian.hunter@nokia.com> Date: Mon Feb 15 10:03:34 2010 -0800 omap_hsmmc: Ensure regulator enable / disable are paired Without this the kernel fails to initialize the SDHC card and find the root partition. Work is currently underway with the community to find a real solution to the problem. This a temporary measure to unblock developers and will have to be reverted when the real fix gets upstream. BugLink: https://bugs.launchpad.net/bugs/591941 Signed-off-by: Mathieu Poirier <mathieu.poirier@canonical.com> Signed-off-by: Leann Ogasawara <leann.ogasawara@canonical.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/mmc/host/omap_hsmmc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/host/omap_hsmmc.c b/drivers/mmc/host/omap_hsmmc.c
index 56d4499d438..b7d4e81617f 100644
--- a/drivers/mmc/host/omap_hsmmc.c
+++ b/drivers/mmc/host/omap_hsmmc.c
@@ -1843,7 +1843,7 @@ static int __devinit omap_hsmmc_probe(struct platform_device *pdev)
host->slot_id = 0;
host->mapbase = res->start + pdata->reg_offset;
host->base = ioremap(host->mapbase, SZ_4K);
- host->power_mode = MMC_POWER_OFF;
+ host->power_mode = -1;
host->next_data.cookie = 1;
platform_set_drvdata(pdev, host);