mmc: block: Resume multi-block reads after transient read errors.
authorDavid Ding <david.j.ding@motorola.com>
Fri, 9 Oct 2009 13:38:10 +0000 (06:38 -0700)
committerColin Cross <ccross@android.com>
Tue, 14 Jun 2011 16:08:52 +0000 (09:08 -0700)
Signed-off-by: Bentao Zou <bzou1@motorola.com>
Signed-off-by: David Ding <david.j.ding@motorola.com>
Signed-off-by: San Mehat <san@google.com>
drivers/mmc/card/block.c

index cda668ccf75755663dfa66b6dee09a3306119430..f0bc6aa8da98d8f1bf11340cf829c1a8319ae25a 100644 (file)
@@ -818,6 +818,8 @@ static int mmc_blk_issue_rw_rq(struct mmc_queue *mq, struct request *req)
                                continue;
                        }
                        status = get_card_status(card, req);
+               } else if (disable_multi == 1) {
+                       disable_multi = 0;
                }
 
                if (brq.sbc.error) {