/*
* If issuing of the request fails with eitehr EBUSY or
* EAGAIN error, re-queue the request.
* This case would occur with ICE calls.
* For request which gets completed successfully or
* errored out, we release host lock in completion or
* error handling softirq context. But here the request
* is neither completed nor erred-out, so release the
* host lock explicitly.
*/
if (ret == -EBUSY || ret == -EAGAIN) {
mmc_blk_cmdq_requeue_rw_rq(mq, req);
mmc_put_card(host->card);
MOTO-CR fixed from:(CR)
Change-Id: I66ae3b008d4ddcb9456d324a674df3a56f60f5e4
Signed-off-by: xiaoy3 <xiaoy3@motorola.com>
Reviewed-on: https://gerrit.mot.com/1282609
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Reviewed-by: Zhenxin Xi <xizx@motorola.com>
Tested-by: Jira Key
Submit-Approved: Jira Key
Reviewed-on: https://gerrit.mot.com/1284397