aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/mmc/host/mmci.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/mmc/host/mmci.c b/drivers/mmc/host/mmci.c
index 7fe16194ebc8..fb266745f824 100644
--- a/drivers/mmc/host/mmci.c
+++ b/drivers/mmc/host/mmci.c
@@ -1613,7 +1613,10 @@ static int mmci_probe(struct amba_device *dev,
1613 dev_dbg(mmc_dev(mmc), "clocking block at %u Hz\n", mmc->f_max); 1613 dev_dbg(mmc_dev(mmc), "clocking block at %u Hz\n", mmc->f_max);
1614 1614
1615 /* Get regulators and the supported OCR mask */ 1615 /* Get regulators and the supported OCR mask */
1616 mmc_regulator_get_supply(mmc); 1616 ret = mmc_regulator_get_supply(mmc);
1617 if (ret == -EPROBE_DEFER)
1618 goto clk_disable;
1619
1617 if (!mmc->ocr_avail) 1620 if (!mmc->ocr_avail)
1618 mmc->ocr_avail = plat->ocr_mask; 1621 mmc->ocr_avail = plat->ocr_mask;
1619 else if (plat->ocr_mask) 1622 else if (plat->ocr_mask)