Skip to content

Commit

Permalink
mmc: core: fix indentation
Browse files Browse the repository at this point in the history
This patch fixes incorrect indentation.  (Just code cleanup)

Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
  • Loading branch information
Jaehoon Chung authored and Chris Ball committed Feb 24, 2013
1 parent 7a81902 commit f5c2758
Showing 1 changed file with 11 additions and 12 deletions.
23 changes: 11 additions & 12 deletions drivers/mmc/core/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -516,17 +516,16 @@ struct mmc_async_req *mmc_start_req(struct mmc_host *host,
mmc_pre_req(host, areq->mrq, !host->areq);

if (host->areq) {
err = mmc_wait_for_data_req_done(host, host->areq->mrq,
areq);
if (err == MMC_BLK_NEW_REQUEST) {
if (error)
*error = err;
/*
* The previous request was not completed,
* nothing to return
*/
return NULL;
}
err = mmc_wait_for_data_req_done(host, host->areq->mrq, areq);
if (err == MMC_BLK_NEW_REQUEST) {
if (error)
*error = err;
/*
* The previous request was not completed,
* nothing to return
*/
return NULL;
}
/*
* Check BKOPS urgency for each R1 response
*/
Expand All @@ -545,7 +544,7 @@ struct mmc_async_req *mmc_start_req(struct mmc_host *host,

/* Cancel a prepared request if it was not started. */
if ((err || start_err) && areq)
mmc_post_req(host, areq->mrq, -EINVAL);
mmc_post_req(host, areq->mrq, -EINVAL);

if (err)
host->areq = NULL;
Expand Down

0 comments on commit f5c2758

Please sign in to comment.