aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Gabbasov <andrew_gabbasov@mentor.com>2014-10-01 08:14:10 -0400
committerUlf Hansson <ulf.hansson@linaro.org>2014-11-10 06:40:28 -0500
commitfc75b708b849fd15da162e0a806ae0dc27996400 (patch)
treedc0467fd03e69d4bd33437a2d20822eb05989470
parentcce411e68515ee14c323d0d1fef638ed0aead7a6 (diff)
mmc: core: Add debug message for SET_BLOCK_COUNT result
The debug messages with commands execution results, that are printed after processing the request, do not include results of sbc (set block count) part of request. Add the debug message for that part too. Signed-off-by: Andrew Gabbasov <andrew_gabbasov@mentor.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
-rw-r--r--drivers/mmc/core/core.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/mmc/core/core.c b/drivers/mmc/core/core.c
index 9f1ecc4b8c82..ee2e776fb8e3 100644
--- a/drivers/mmc/core/core.c
+++ b/drivers/mmc/core/core.c
@@ -149,6 +149,14 @@ void mmc_request_done(struct mmc_host *host, struct mmc_request *mrq)
149 149
150 led_trigger_event(host->led, LED_OFF); 150 led_trigger_event(host->led, LED_OFF);
151 151
152 if (mrq->sbc) {
153 pr_debug("%s: req done <CMD%u>: %d: %08x %08x %08x %08x\n",
154 mmc_hostname(host), mrq->sbc->opcode,
155 mrq->sbc->error,
156 mrq->sbc->resp[0], mrq->sbc->resp[1],
157 mrq->sbc->resp[2], mrq->sbc->resp[3]);
158 }
159
152 pr_debug("%s: req done (CMD%u): %d: %08x %08x %08x %08x\n", 160 pr_debug("%s: req done (CMD%u): %d: %08x %08x %08x %08x\n",
153 mmc_hostname(host), cmd->opcode, err, 161 mmc_hostname(host), cmd->opcode, err,
154 cmd->resp[0], cmd->resp[1], 162 cmd->resp[0], cmd->resp[1],