aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mmc/core/sd.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mmc/core/sd.c')
-rw-r--r--drivers/mmc/core/sd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mmc/core/sd.c b/drivers/mmc/core/sd.c
index 5e8823dc3ef6..af55e9e0819c 100644
--- a/drivers/mmc/core/sd.c
+++ b/drivers/mmc/core/sd.c
@@ -1099,7 +1099,7 @@ static int mmc_sd_resume(struct mmc_host *host)
1099 BUG_ON(!host->card); 1099 BUG_ON(!host->card);
1100 1100
1101 mmc_claim_host(host); 1101 mmc_claim_host(host);
1102 mmc_power_up(host); 1102 mmc_power_up(host, host->ocr);
1103 mmc_select_voltage(host, host->ocr); 1103 mmc_select_voltage(host, host->ocr);
1104 err = mmc_sd_init_card(host, host->ocr, host->card); 1104 err = mmc_sd_init_card(host, host->ocr, host->card);
1105 mmc_release_host(host); 1105 mmc_release_host(host);
@@ -1144,7 +1144,7 @@ static int mmc_sd_runtime_resume(struct mmc_host *host)
1144 1144
1145 mmc_claim_host(host); 1145 mmc_claim_host(host);
1146 1146
1147 mmc_power_up(host); 1147 mmc_power_up(host, host->ocr);
1148 err = mmc_sd_resume(host); 1148 err = mmc_sd_resume(host);
1149 if (err) 1149 if (err)
1150 pr_err("%s: error %d doing aggessive resume\n", 1150 pr_err("%s: error %d doing aggessive resume\n",