Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit df19968e authored by Sahitya Tummala's avatar Sahitya Tummala
Browse files

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: default avatarSahitya Tummala <stummala@codeaurora.org>
parent ad7fa3de
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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);
}