projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f55ae19
)
mmc: add the device name in debugging message for supplying vmmc
author
Jaehoon Chung
<jh80.chung@samsung.com>
Mon, 24 Oct 2016 06:22:22 +0000
(15:22 +0900)
committer
Jaehoon Chung
<jh80.chung@samsung.com>
Fri, 28 Oct 2016 02:02:16 +0000
(11:02 +0900)
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>
drivers/mmc/mmc.c
patch
|
blob
|
history
diff --git
a/drivers/mmc/mmc.c
b/drivers/mmc/mmc.c
index 320413aeeda58cbc4fd347d380cd062e435bdbad..4380c7c195a628e343f1f0b4719be6b6bbf3fdb3 100644
(file)
--- 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;
}