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

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

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

parents c5fa88f5 28b10845
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -4099,6 +4099,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;
			}
		}
	}