mmc: cmdq_hci: Add DCMD response to mrq
This will be needed by core layers to check the status for
CMD13 that is sent in CMDQ mode.
Change-Id: If3d062bad4cf87c2543e6d5345f9ab6a0afa23bf
Signed-off-by: Sahitya Tummala <stummala@codeaurora.org>
diff --git a/drivers/mmc/host/cmdq_hci.c b/drivers/mmc/host/cmdq_hci.c
index 3c499fc..44cc0d1 100644
--- a/drivers/mmc/host/cmdq_hci.c
+++ b/drivers/mmc/host/cmdq_hci.c
@@ -588,6 +588,9 @@
struct cmdq_host *cq_host = (struct cmdq_host *)mmc_cmdq_private(mmc);
mrq = get_req_by_tag(cq_host, tag);
+ if (tag == cq_host->dcmd_slot)
+ mrq->cmd->resp[0] = cmdq_readl(cq_host, CQCRDCT);
+
mrq->done(mrq);
}