mmc: core: use card->ocr when negotiating voltage setting in mmc_sdio_power_restore
[deliverable/linux.git] / drivers / mmc / core / sdio.c
index 2439e717655b132654fb67e9509af8d834940ee1..f0ddb0d2853645257b6c0fdc5f4bc815c299a649 100644 (file)
@@ -1035,7 +1035,7 @@ static int mmc_sdio_power_restore(struct mmc_host *host)
 
        sdio_reset(host);
        mmc_go_idle(host);
-       mmc_send_if_cond(host, host->ocr_avail);
+       mmc_send_if_cond(host, host->card->ocr);
 
        ret = mmc_send_io_op_cond(host, 0, NULL);
        if (ret)
This page took 0.063452 seconds and 5 git commands to generate.