Skip to content
Snippets Groups Projects
Commit 288db7c7 authored by Jaehoon Chung's avatar Jaehoon Chung
Browse files

mmc: add the device name in debugging message for supplying vmmc


If vmmc didn't supply, we didn't know which card didn't supply vmmc.
And changed from "put" to "debug".

Signed-off-by: default avatarJaehoon Chung <jh80.chung@samsung.com>
Reviewed-by: default avatarPeng Fan <peng.fan@nxp.com>
parent f55ae197
No related branches found
No related tags found
No related merge requests found
...@@ -1595,7 +1595,7 @@ static int mmc_power_init(struct mmc *mmc) ...@@ -1595,7 +1595,7 @@ static int mmc_power_init(struct mmc *mmc)
ret = device_get_supply_regulator(mmc->dev, "vmmc-supply", ret = device_get_supply_regulator(mmc->dev, "vmmc-supply",
&vmmc_supply); &vmmc_supply);
if (ret) { if (ret) {
puts("No vmmc supply\n"); debug("%s: No vmmc supply\n", mmc->dev->name);
return 0; return 0;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment