git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mmc: core: Set correct bus mode before card init
[pandora-kernel.git]
/
drivers
/
mmc
/
core
/
sdio.c
diff --git
a/drivers/mmc/core/sdio.c
b/drivers/mmc/core/sdio.c
index
262fff0
..
698d813
100644
(file)
--- a/
drivers/mmc/core/sdio.c
+++ b/
drivers/mmc/core/sdio.c
@@
-408,8
+408,6
@@
static int mmc_sdio_init_card(struct mmc_host *host, u32 ocr,
*/
if (oldcard)
oldcard->rca = card->rca;
-
- mmc_set_bus_mode(host, MMC_BUSMODE_PUSHPULL);
}
/*
@@
-597,6
+595,7
@@
out:
mmc_claim_host(host);
mmc_detach_bus(host);
+ mmc_power_off(host);
mmc_release_host(host);
}
}