diff options
author | Jaehoon Chung <jh80.chung@samsung.com> | 2016-10-24 15:22:22 +0900 |
---|---|---|
committer | Jaehoon Chung <jh80.chung@samsung.com> | 2016-10-28 11:02:16 +0900 |
commit | 288db7c7c00acadf699a726deba2d9825bdd9c2b (patch) | |
tree | ba797d7a6a62acb2798a9d3961e68671f412b759 | |
parent | f55ae19703ebf3aa19eadb66d6977779675c88d5 (diff) | |
download | u-boot-imx-288db7c7c00acadf699a726deba2d9825bdd9c2b.zip u-boot-imx-288db7c7c00acadf699a726deba2d9825bdd9c2b.tar.gz u-boot-imx-288db7c7c00acadf699a726deba2d9825bdd9c2b.tar.bz2 |
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>
-rw-r--r-- | drivers/mmc/mmc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/mmc.c b/drivers/mmc/mmc.c index 320413a..4380c7c 100644 --- a/drivers/mmc/mmc.c +++ b/drivers/mmc/mmc.c @@ -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; } |