All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] mmc: add the device name in debugging message for supplying vmmc
@ 2016-10-24  6:22 Jaehoon Chung
  2016-10-24  8:51 ` Peng Fan
  0 siblings, 1 reply; 3+ messages in thread
From: Jaehoon Chung @ 2016-10-24  6:22 UTC (permalink / raw)
  To: u-boot

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>
---
 drivers/mmc/mmc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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;
 	}
 
-- 
2.10.1

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-10-26  2:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-10-24  6:22 [U-Boot] [PATCH] mmc: add the device name in debugging message for supplying vmmc Jaehoon Chung
2016-10-24  8:51 ` Peng Fan
2016-10-26  2:03   ` Jaehoon Chung

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.