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)
committerArve Hjønnevåg <arve@android.com>
Mon, 8 Feb 2010 23:08:36 +0000 (15:08 -0800)
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 853e5dbc1cdf5b66ed6c45b6c4c7d52fb44ae7ae..aca64387cc57404849d11e2aafe69b4a5f15fc4a 100644 (file)
@@ -378,6 +378,8 @@ static int mmc_blk_issue_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) {