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

This commit is contained in:
qctecmdr Service 2018-08-13 09:33:37 -07:00 committed by Gerrit - the friendly Code Review server
commit 3a81d2ceae

View File

@ -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;
}
}
}