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

Commit 833af105 authored by Ram Prakash Gupta's avatar Ram Prakash Gupta Committed by Gerrit - the friendly Code Review server
Browse files

mmc: core: Enable force hw reset



During error recovery set need hw reset to handle
ICE error where cqe reset is must.

Change-Id: I198cc06c18910c48b85a5298aebb9024b94d2470
Signed-off-by: default avatarRam Prakash Gupta <rampraka@codeaurora.org>
parent fd0a3dbb
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1541,9 +1541,10 @@ void mmc_blk_cqe_recovery(struct mmc_queue *mq)
	pr_debug("%s: CQE recovery start\n", mmc_hostname(host));

	err = mmc_cqe_recovery(host);
	if (err)
	if (err || host->need_hw_reset)
		mmc_blk_reset(mq->blkdata, host, MMC_BLK_CQE_RECOVERY);
	mmc_blk_reset_success(mq->blkdata, MMC_BLK_CQE_RECOVERY);
	host->need_hw_reset = false;

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