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

Commit 3a81d2ce authored by qctecmdr Service's avatar qctecmdr Service Committed by Gerrit - the friendly Code Review server
Browse files

Merge "mmc: cmdq: Notify higher layer of ice errors"

parents 0120c202 aa4a0148
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -3560,6 +3560,13 @@ static int mmc_blk_cmdq_issue_rq(struct mmc_queue *mq, struct request *req)
			if (ret == -EBUSY || ret == -EAGAIN) {
				mmc_blk_cmdq_requeue_rw_rq(mq, req);
				mmc_put_card(host->card);
			} else if (ret == -ENOMEM) {
				/*
				 * Elaborate error handling is not needed for
				 * system errors. Let the higher layer decide
				 * on the next steps.
				 */
				goto out;
			}
		}
	}