diff --git a/drivers/mci/mci-core.c b/drivers/mci/mci-core.c index 67257bc..9e39cbb 100644 --- a/drivers/mci/mci-core.c +++ b/drivers/mci/mci-core.c @@ -1819,6 +1819,10 @@ host->supply = regulator_get(host->hw_dev, "vmmc"); if (IS_ERR(host->supply)) { + if (host->supply == ERR_PTR(-EPROBE_DEFER)) { + ret = -EPROBE_DEFER; + goto err_free; + } dev_err(&mci->dev, "Failed to get 'vmmc' regulator.\n"); host->supply = NULL; }