diff options
| author | Sahitya Tummala <stummala@codeaurora.org> | 2015-05-29 15:41:18 +0530 |
|---|---|---|
| committer | Subhash Jadavani <subhashj@codeaurora.org> | 2016-05-31 15:26:37 -0700 |
| commit | 6b78c6e6d12e995fda7664e1741ab9f12fbb9850 (patch) | |
| tree | acc73c53dee89bfeaeea830e1a4b303600eae4df | |
| parent | 0d897b8fc4b68df29b8eaf3de38ce54ab77e441d (diff) | |
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>
| -rw-r--r-- | drivers/mmc/host/cmdq_hci.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/mmc/host/cmdq_hci.c b/drivers/mmc/host/cmdq_hci.c index 00a065cfab8d..6c5951b51afa 100644 --- a/drivers/mmc/host/cmdq_hci.c +++ b/drivers/mmc/host/cmdq_hci.c @@ -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); 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); } |
