Merge "mmc: block: Return error in case of partition switch failure"
This commit is contained in:
commit
4715598d50
1 changed files with 1 additions and 1 deletions
|
@ -4000,7 +4000,7 @@ static int mmc_blk_cmdq_issue_rq(struct mmc_queue *mq, struct request *req)
|
|||
} else {
|
||||
pr_err("%s: %s: partition switch failed err = %d\n",
|
||||
md->disk->disk_name, __func__, err);
|
||||
ret = 0;
|
||||
ret = err;
|
||||
goto out;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue