aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mmc/core
diff options
context:
space:
mode:
authorJaehoon Chung <jh80.chung@samsung.com>2013-02-01 00:32:22 -0500
committerChris Ball <cjb@laptop.org>2013-02-24 14:37:13 -0500
commitf5c2758fbb3095dc0fe4725e4a2eaec3580e1eba (patch)
tree51c93150a208b3db224ace695ec586d0754e1749 /drivers/mmc/core
parent7a81902fa52f2b6f5037e167f74ebb5a41cfc7d1 (diff)
mmc: core: fix indentation
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>
Diffstat (limited to 'drivers/mmc/core')
-rw-r--r--drivers/mmc/core/core.c23
1 files changed, 11 insertions, 12 deletions
diff --git a/drivers/mmc/core/core.c b/drivers/mmc/core/core.c
index 6e95f6f11a28..6f3bc1a97ba8 100644
--- a/drivers/mmc/core/core.c
+++ b/drivers/mmc/core/core.c
@@ -516,17 +516,16 @@ struct mmc_async_req *mmc_start_req(struct mmc_host *host,
516 mmc_pre_req(host, areq->mrq, !host->areq); 516 mmc_pre_req(host, areq->mrq, !host->areq);
517 517
518 if (host->areq) { 518 if (host->areq) {
519 err = mmc_wait_for_data_req_done(host, host->areq->mrq, 519 err = mmc_wait_for_data_req_done(host, host->areq->mrq, areq);
520 areq); 520 if (err == MMC_BLK_NEW_REQUEST) {
521 if (err == MMC_BLK_NEW_REQUEST) { 521 if (error)
522 if (error) 522 *error = err;
523 *error = err; 523 /*
524 /* 524 * The previous request was not completed,
525 * The previous request was not completed, 525 * nothing to return
526 * nothing to return 526 */
527 */ 527 return NULL;
528 return NULL; 528 }
529 }
530 /* 529 /*
531 * Check BKOPS urgency for each R1 response 530 * Check BKOPS urgency for each R1 response
532 */ 531 */
@@ -545,7 +544,7 @@ struct mmc_async_req *mmc_start_req(struct mmc_host *host,
545 544
546 /* Cancel a prepared request if it was not started. */ 545 /* Cancel a prepared request if it was not started. */
547 if ((err || start_err) && areq) 546 if ((err || start_err) && areq)
548 mmc_post_req(host, areq->mrq, -EINVAL); 547 mmc_post_req(host, areq->mrq, -EINVAL);
549 548
550 if (err) 549 if (err)
551 host->areq = NULL; 550 host->areq = NULL;