Skip to content

Commit 7962302

Browse files
ahunter6storulf
authored andcommitted
mmc: sdhci: Add response register to register dump
Add response register to register dump. Signed-off-by: Adrian Hunter <adrian.hunter@intel.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> Tested-by: Ludovic Desroches <ludovic.desroches@microchip.com>
1 parent f421865 commit 7962302

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

drivers/mmc/host/sdhci.c

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,13 @@ static void sdhci_dumpregs(struct sdhci_host *host)
8787
pr_err(DRIVER_NAME ": Cmd: 0x%08x | Max curr: 0x%08x\n",
8888
sdhci_readw(host, SDHCI_COMMAND),
8989
sdhci_readl(host, SDHCI_MAX_CURRENT));
90+
pr_err(DRIVER_NAME ": Resp[0]: 0x%08x | Resp[1]: 0x%08x\n",
91+
sdhci_readl(host, SDHCI_RESPONSE),
92+
sdhci_readl(host, SDHCI_RESPONSE + 4));
93+
pr_err(DRIVER_NAME ": Resp[2]: 0x%08x | Resp[3]: 0x%08x\n",
94+
sdhci_readl(host, SDHCI_RESPONSE + 8),
95+
sdhci_readl(host, SDHCI_RESPONSE + 12));
96+
9097
pr_err(DRIVER_NAME ": Host ctl2: 0x%08x\n",
9198
sdhci_readw(host, SDHCI_HOST_CONTROL2));
9299

0 commit comments

Comments
 (0)