mirror of
https://github.com/rd-stuffs/msm-4.14.git
synced 2025-02-20 11:45:48 +08:00
Merge "mmc: cmdq: Notify higher layer of ice errors"
This commit is contained in:
commit
3a81d2ceae
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user