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

Commit 20d90d52 authored by Sahitya Tummala's avatar Sahitya Tummala Committed by Gerrit - the friendly Code Review server
Browse files

mmc: cmdq_hci: Fix issue with triggering queue status after dcmd



To trigger queue status command after sending dcmd, we need
to set bit 31 of CQ_VENDOR_CFG register. But the current code
incorrectly sets bit 31 of CQCTL register.

Change-Id: Ic5b914cf6a5237ac51b2104453caba2c49c1efbc
Signed-off-by: default avatarSahitya Tummala <stummala@codeaurora.org>
parent 50e0173f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -680,7 +680,7 @@ static void cmdq_finish_data(struct mmc_host *mmc, unsigned int tag)

	if (mrq->cmdq_req->cmdq_req_flags & DCMD)
		cmdq_writel(cq_host, cmdq_readl(cq_host, CQ_VENDOR_CFG) |
			    CMDQ_SEND_STATUS_TRIGGER, CQCTL);
			    CMDQ_SEND_STATUS_TRIGGER, CQ_VENDOR_CFG);

	cmdq_runtime_pm_put(cq_host);
	if (cq_host->ops->crypto_cfg_reset)