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>
This commit is contained in:
Sahitya Tummala 2015-05-29 15:41:18 +05:30 committed by Subhash Jadavani
parent 0d897b8fc4
commit 6b78c6e6d1

View file

@ -597,6 +597,9 @@ static void cmdq_finish_data(struct mmc_host *mmc, unsigned int tag)
struct cmdq_host *cq_host = (struct cmdq_host *)mmc_cmdq_private(mmc); struct cmdq_host *cq_host = (struct cmdq_host *)mmc_cmdq_private(mmc);
mrq = get_req_by_tag(cq_host, tag); 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); mrq->done(mrq);
} }