diff options
Diffstat (limited to 'drivers')
| -rw-r--r-- | drivers/mmc/core/sd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mmc/core/sd.c b/drivers/mmc/core/sd.c index 092b447ae901..99b521b79f1c 100644 --- a/drivers/mmc/core/sd.c +++ b/drivers/mmc/core/sd.c @@ -1413,8 +1413,8 @@ int mmc_attach_sd(struct mmc_host *host) retries--; mmc_power_off(host); usleep_range(5000, 5500); - mmc_power_up(host, host->card->ocr); - mmc_select_voltage(host, host->card->ocr); + mmc_power_up(host, rocr); + mmc_select_voltage(host, rocr); continue; } break; |
