aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mmc/core/core.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mmc/core/core.c')
-rw-r--r--drivers/mmc/core/core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/core/core.c b/drivers/mmc/core/core.c
index 49a5bca418bd..5d088551196b 100644
--- a/drivers/mmc/core/core.c
+++ b/drivers/mmc/core/core.c
@@ -1313,7 +1313,7 @@ int mmc_regulator_get_supply(struct mmc_host *mmc)
1313 1313
1314 supply = devm_regulator_get(dev, "vmmc"); 1314 supply = devm_regulator_get(dev, "vmmc");
1315 mmc->supply.vmmc = supply; 1315 mmc->supply.vmmc = supply;
1316 mmc->supply.vqmmc = devm_regulator_get(dev, "vqmmc"); 1316 mmc->supply.vqmmc = devm_regulator_get_optional(dev, "vqmmc");
1317 1317
1318 if (IS_ERR(supply)) 1318 if (IS_ERR(supply))
1319 return PTR_ERR(supply); 1319 return PTR_ERR(supply);