From: Philip Rakity Date: Wed, 22 Sep 2010 22:25:13 +0000 (-0700) Subject: mmc: sdhci: print out controller name for register debug X-Git-Tag: Ubuntu-5.2.0-15.16~23179^2~43 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=412ab659b2bdad6afac8f84daf2a8a393145dcae;p=mirror_ubuntu-eoan-kernel.git 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 Signed-off-by: Chris Ball --- 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 *); static void sdhci_dumpregs(struct sdhci_host *host) { - printk(KERN_DEBUG DRIVER_NAME ": ============== REGISTER DUMP ==============\n"); + printk(KERN_DEBUG DRIVER_NAME ": =========== REGISTER DUMP (%s)===========\n", + mmc_hostname(host->mmc)); printk(KERN_DEBUG DRIVER_NAME ": Sys addr: 0x%08x | Version: 0x%08x\n", sdhci_readl(host, SDHCI_DMA_ADDRESS),