All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jean-Francois Dagenais <jeff.dagenais@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] mmc: zynq_sdhci: improve debug print
Date: Sun,  2 Apr 2017 21:42:23 -0400	[thread overview]
Message-ID: <1491183743-19861-1-git-send-email-jeff.dagenais@gmail.com> (raw)

When debugging dual SDHCI controller setup, printing strings and bank info
is very helpful.

Signed-off-by: Jean-Francois Dagenais <jeff.dagenais@gmail.com>
---
 drivers/mmc/zynq_sdhci.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/mmc/zynq_sdhci.c b/drivers/mmc/zynq_sdhci.c
index 089a424..f975165 100644
--- a/drivers/mmc/zynq_sdhci.c
+++ b/drivers/mmc/zynq_sdhci.c
@@ -160,8 +160,8 @@ static void arasan_sdhci_set_tapdelay(struct sdhci_host *host)
 	else
 		return;
 
-	debug("%s, %d:%d, mode:%d\n", __func__, priv->deviceid, priv->bank,
-	      uhsmode);
+	debug("%s, host:%s devId:%d, bank:%d, mode:%d\n", __func__, host->name,
+	      priv->deviceid, priv->bank, uhsmode);
 	if ((uhsmode >= MMC_TIMING_UHS_SDR25) &&
 	    (uhsmode <= MMC_TIMING_HS200))
 		arasan_zynqmp_set_tapdelay(priv->deviceid, uhsmode,
-- 
2.1.4

             reply	other threads:[~2017-04-03  1:42 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CGME20170403014243epcas2p140cc1903315925efb9e583efa3c474d2@epcas2p1.samsung.com>
2017-04-03  1:42 ` Jean-Francois Dagenais [this message]
2017-04-14  6:29   ` [U-Boot] [PATCH] mmc: zynq_sdhci: improve debug print Jaehoon Chung
2017-04-14  6:32     ` 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=1491183743-19861-1-git-send-email-jeff.dagenais@gmail.com \
    --to=jeff.dagenais@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 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.