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_gabba...@mentor.com>
---
 drivers/mmc/core/core.c | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/drivers/mmc/core/core.c b/drivers/mmc/core/core.c
index b8e57db..162bcd3 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)
 
                led_trigger_event(host->led, LED_OFF);
 
+               if (mrq->sbc) {
+                       pr_debug("%s: req done <CMD%u>: %d: %08x %08x %08x 
%08x\n",
+                               mmc_hostname(host), mrq->sbc->opcode,
+                               mrq->sbc->error,
+                               mrq->sbc->resp[0], mrq->sbc->resp[1],
+                               mrq->sbc->resp[2], mrq->sbc->resp[3]);
+               }
+
                pr_debug("%s: req done (CMD%u): %d: %08x %08x %08x %08x\n",
                        mmc_hostname(host), cmd->opcode, err,
                        cmd->resp[0], cmd->resp[1],
-- 
2.1.0

--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to