aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mmc/host/sdhci.c
diff options
context:
space:
mode:
authorPhilip Rakity <prakity@marvell.com>2010-09-22 18:25:13 -0400
committerChris Ball <cjb@laptop.org>2010-10-23 09:11:15 -0400
commit412ab659b2bdad6afac8f84daf2a8a393145dcae (patch)
treeaddba5fc484ce4e1fbd2fa976af4a030bd90185a /drivers/mmc/host/sdhci.c
parentb08caed8659ab27199db51c63a35c5ee067fc7ef (diff)
mmc: sdhci: print out controller name for register debug
In a multi-controller environment it is helpful to know which controller has problems. Signed-off-by: Philip Rakity <prakity@marvell.com> Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'drivers/mmc/host/sdhci.c')
-rw-r--r--drivers/mmc/host/sdhci.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/mmc/host/sdhci.c b/drivers/mmc/host/sdhci.c
index e335f4f43a4b..829e78a21a0d 100644
--- a/drivers/mmc/host/sdhci.c
+++ b/drivers/mmc/host/sdhci.c
@@ -47,7 +47,8 @@ static void sdhci_finish_command(struct sdhci_host *);
47 47
48static void sdhci_dumpregs(struct sdhci_host *host) 48static void sdhci_dumpregs(struct sdhci_host *host)
49{ 49{
50 printk(KERN_DEBUG DRIVER_NAME ": ============== REGISTER DUMP ==============\n"); 50 printk(KERN_DEBUG DRIVER_NAME ": =========== REGISTER DUMP (%s)===========\n",
51 mmc_hostname(host->mmc));
51 52
52 printk(KERN_DEBUG DRIVER_NAME ": Sys addr: 0x%08x | Version: 0x%08x\n", 53 printk(KERN_DEBUG DRIVER_NAME ": Sys addr: 0x%08x | Version: 0x%08x\n",
53 sdhci_readl(host, SDHCI_DMA_ADDRESS), 54 sdhci_readl(host, SDHCI_DMA_ADDRESS),