File tree Expand file tree Collapse file tree 1 file changed +11
-12
lines changed Expand file tree Collapse file tree 1 file changed +11
-12
lines changed Original file line number Diff line number Diff line change @@ -516,17 +516,16 @@ struct mmc_async_req *mmc_start_req(struct mmc_host *host,
516
516
mmc_pre_req (host , areq -> mrq , !host -> areq );
517
517
518
518
if (host -> areq ) {
519
- err = mmc_wait_for_data_req_done (host , host -> areq -> mrq ,
520
- areq );
521
- if (err == MMC_BLK_NEW_REQUEST ) {
522
- if (error )
523
- * error = err ;
524
- /*
525
- * The previous request was not completed,
526
- * nothing to return
527
- */
528
- return NULL ;
529
- }
519
+ err = mmc_wait_for_data_req_done (host , host -> areq -> mrq , areq );
520
+ if (err == MMC_BLK_NEW_REQUEST ) {
521
+ if (error )
522
+ * error = err ;
523
+ /*
524
+ * The previous request was not completed,
525
+ * nothing to return
526
+ */
527
+ return NULL ;
528
+ }
530
529
/*
531
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
545
/* Cancel a prepared request if it was not started. */
547
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
549
if (err )
551
550
host -> areq = NULL ;
You can’t perform that action at this time.
0 commit comments