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

Commit 5143c7f9 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "mmc: core: Fix error handling of MMC_BLK_DATA_ERR"

parents 5f7aa02a 6087341b
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -2675,10 +2675,7 @@ static int mmc_blk_issue_rw_rq(struct mmc_queue *mq, struct request *rqc)
			err = mmc_blk_reset(md, card->host, type);
			if (!err)
				break;
			if (err == -ENODEV ||
				mmc_packed_cmd(mq_rq->cmd_type))
			goto cmd_abort;
			/* Fall through */
		}
		case MMC_BLK_ECC_ERR:
			if (brq->data.blocks > 1) {