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>
Thu, 30 Sep 2010 00:49:15 +0000 (17:49 -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 a21861b90156a6f93bc5b1422d4fe1379c8beb66..8a5dd72d47bd5ebc3a6dab31357ab0f9fd90a2d0 100644 (file)
@@ -426,6 +426,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.cmd.error) {