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

Commit ed0b6c14 authored by Ram Prakash Gupta's avatar Ram Prakash Gupta
Browse files

mmc: core: Set reset done after hw reset



Set hw reset flag as done after sdcc hw reset else
hw reset as part of recovery happens only once.

Change-Id: I14915ae26240769b45cec8d2793e5f8604062eef
Signed-off-by: default avatarRam Prakash Gupta <rampraka@codeaurora.org>
parent b60b9668
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -1506,7 +1506,6 @@ void mmc_blk_cqe_recovery(struct mmc_queue *mq)
	err = mmc_cqe_recovery(host);
	if (err)
		mmc_blk_reset(mq->blkdata, host, MMC_BLK_CQE_RECOVERY);
	else
	mmc_blk_reset_success(mq->blkdata, MMC_BLK_CQE_RECOVERY);

	pr_debug("%s: CQE recovery done\n", mmc_hostname(host));