From: Peng Fan <van.freenix@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] mmc: add the device name in debugging message for supplying vmmc
Date: Mon, 24 Oct 2016 16:51:38 +0800 [thread overview]
Message-ID: <20161024085136.GA3529@linux-7smt.suse> (raw)
In-Reply-To: <20161024062222.11899-1-jh80.chung@samsung.com>
Hi Chung,
On Mon, Oct 24, 2016 at 03:22:22PM +0900, Jaehoon Chung wrote:
>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>
Regards,
Peng.
>---
> 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
>
>_______________________________________________
>U-Boot mailing list
>U-Boot at lists.denx.de
>http://lists.denx.de/mailman/listinfo/u-boot
next prev parent reply other threads:[~2016-10-24 8:51 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
2016-10-26 2:03 ` Jaehoon Chung
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20161024085136.GA3529@linux-7smt.suse \
--to=van.freenix@gmail.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox