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

Commit 619ed9bf authored by Venkat Gopalakrishnan's avatar Venkat Gopalakrishnan
Browse files

mmc: msm_sdcc: Remove unnecessary delay in interrupt context



msmsdcc_request_end when called with interrupts disabled inside an
interrupt handler adds an unnecessary 5ms delay on command timeouts,
which impacts system performance. Remove this delay.

Change-Id: I90aec109fe84f7b9f9a9362b5ee2d8d1310833af
Signed-off-by: default avatarVenkat Gopalakrishnan <venkatg@codeaurora.org>
parent 62b084ce
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -516,8 +516,6 @@ msmsdcc_request_end(struct msmsdcc_host *host, struct mmc_request *mrq)

	if (mrq->data)
		mrq->data->bytes_xfered = host->curr.data_xfered;
	if (mrq->cmd->error == -ETIMEDOUT)
		mdelay(5);

	msmsdcc_reset_dpsm(host);