diff options
| -rw-r--r-- | drivers/mmc/host/dw_mmc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/host/dw_mmc.c b/drivers/mmc/host/dw_mmc.c index ee5f1676f14e..542407363dd2 100644 --- a/drivers/mmc/host/dw_mmc.c +++ b/drivers/mmc/host/dw_mmc.c | |||
| @@ -2231,7 +2231,7 @@ int dw_mci_probe(struct dw_mci *host) | |||
| 2231 | } | 2231 | } |
| 2232 | } | 2232 | } |
| 2233 | 2233 | ||
| 2234 | host->vmmc = devm_regulator_get(host->dev, "vmmc"); | 2234 | host->vmmc = devm_regulator_get_optional(host->dev, "vmmc"); |
| 2235 | if (IS_ERR(host->vmmc)) { | 2235 | if (IS_ERR(host->vmmc)) { |
| 2236 | ret = PTR_ERR(host->vmmc); | 2236 | ret = PTR_ERR(host->vmmc); |
| 2237 | if (ret == -EPROBE_DEFER) | 2237 | if (ret == -EPROBE_DEFER) |
