diff mbox

Subject: [PATCH] sdhci: Show SD Command when doing debug printks

Message ID 7F73D3B4-C432-4DFB-83F2-56239B902A9C@marvell.com (mailing list archive)
State Accepted, archived
Headers show

Commit Message

Philip Rakity Sept. 23, 2010, 3:49 p.m. UTC
None
diff mbox

Patch

diff --git a/drivers/mmc/host/sdhci.c b/drivers/mmc/host/sdhci.c
index ba8f9a0..fa57fb1 100644
--- a/drivers/mmc/host/sdhci.c
+++ b/drivers/mmc/host/sdhci.c
@@ -80,6 +80,8 @@  static void sdhci_dumpregs(struct sdhci_host *host)
 	printk(KERN_DEBUG DRIVER_NAME ": Caps:     0x%08x | Max curr: 0x%08x\n",
 		sdhci_readl(host, SDHCI_CAPABILITIES),
 		sdhci_readl(host, SDHCI_MAX_CURRENT));
+	printk(KERN_DEBUG DRIVER_NAME ": Command:  0x%08x\n",
+		sdhci_readw(host, SDHCI_COMMAND));
 
 	if (host->flags & SDHCI_USE_ADMA)
 		printk(KERN_DEBUG DRIVER_NAME ": ADMA Err: 0x%08x | ADMA Ptr: 0x%08x\n",