mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-09-21 23:21:58 +00:00
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: Jaehoon Chung <jh80.chung@samsung.com> Reviewed-by: Peng Fan <peng.fan@nxp.com>
This commit is contained in:
parent
f55ae19703
commit
288db7c7c0
1 changed files with 1 additions and 1 deletions
|
@ -1595,7 +1595,7 @@ static int mmc_power_init(struct mmc *mmc)
|
|||
ret = device_get_supply_regulator(mmc->dev, "vmmc-supply",
|
||||
&vmmc_supply);
|
||||
if (ret) {
|
||||
puts("No vmmc supply\n");
|
||||
debug("%s: No vmmc supply\n", mmc->dev->name);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue