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

Commit 8e69e14d authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "mmc: block: Avoid retry in case of data error"

parents bc5e382d d8021a62
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -3348,9 +3348,9 @@ static void mmc_blk_issue_rw_rq(struct mmc_queue *mq, struct request *new_req)
			int err;

			err = mmc_blk_reset(md, card->host, type);
			if (!err)
			if (!err) {
				break;
			if (err == -ENODEV) {
			} else {
				mmc_blk_rw_cmd_abort(mq, card, old_req, mq_rq);
				mmc_blk_rw_try_restart(mq, new_req, mqrq_cur);
				return;