From patchwork Sat Apr 23 01:01:37 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Stultz X-Patchwork-Id: 1165 Return-Path: Delivered-To: unknown Received: from imap.gmail.com (74.125.159.109) by localhost6.localdomain6 with IMAP4-SSL; 08 Jun 2011 14:49:48 -0000 Delivered-To: patches@linaro.org Received: by 10.224.80.148 with SMTP id t20cs36570qak; Fri, 22 Apr 2011 18:02:02 -0700 (PDT) Received: by 10.151.63.3 with SMTP id q3mr1578991ybk.443.1303520522339; Fri, 22 Apr 2011 18:02:02 -0700 (PDT) Received: from e31.co.us.ibm.com (e31.co.us.ibm.com [32.97.110.149]) by mx.google.com with ESMTPS id r18si14648365yba.100.2011.04.22.18.02.01 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 22 Apr 2011 18:02:01 -0700 (PDT) Received-SPF: pass (google.com: domain of jstultz@us.ibm.com designates 32.97.110.149 as permitted sender) client-ip=32.97.110.149; Authentication-Results: mx.google.com; spf=pass (google.com: domain of jstultz@us.ibm.com designates 32.97.110.149 as permitted sender) smtp.mail=jstultz@us.ibm.com Received: from d03relay02.boulder.ibm.com (d03relay02.boulder.ibm.com [9.17.195.227]) by e31.co.us.ibm.com (8.14.4/8.13.1) with ESMTP id p3N0k3dg004333; Fri, 22 Apr 2011 18:46:03 -0600 Received: from d03av04.boulder.ibm.com (d03av04.boulder.ibm.com [9.17.195.170]) by d03relay02.boulder.ibm.com (8.13.8/8.13.8/NCO v9.1) with ESMTP id p3N11sFh124678; Fri, 22 Apr 2011 19:01:54 -0600 Received: from d03av04.boulder.ibm.com (loopback [127.0.0.1]) by d03av04.boulder.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id p3N11rH2031866; Fri, 22 Apr 2011 19:01:54 -0600 Received: from kernel.beaverton.ibm.com (kernel.beaverton.ibm.com [9.47.67.96]) by d03av04.boulder.ibm.com (8.14.4/8.13.1/NCO v10.0 AVin) with ESMTP id p3N11r0c031863; Fri, 22 Apr 2011 19:01:53 -0600 Received: by kernel.beaverton.ibm.com (Postfix, from userid 1056) id 90EDC1E750F; Fri, 22 Apr 2011 18:01:52 -0700 (PDT) From: John Stultz To: linux-mmc@vger.kernel.org Cc: David Ding , Chris Ball , Arnd Bergmann , Dima Zavin , Bentao Zou , San Mehat , John Stultz Subject: [PATCH 1/6] mmc: block: Resume multi-block reads after transient read errors. Date: Fri, 22 Apr 2011 18:01:37 -0700 Message-Id: <1303520502-32171-2-git-send-email-john.stultz@linaro.org> X-Mailer: git-send-email 1.7.3.2.146.gca209 In-Reply-To: <1303520502-32171-1-git-send-email-john.stultz@linaro.org> References: <1303520502-32171-1-git-send-email-john.stultz@linaro.org> From: David Ding CC: Chris Ball CC: Arnd Bergmann CC: Dima Zavin Signed-off-by: Bentao Zou Signed-off-by: David Ding Signed-off-by: San Mehat Signed-off-by: John Stultz --- drivers/mmc/card/block.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/drivers/mmc/card/block.c b/drivers/mmc/card/block.c index 61d233a..edac9ac 100644 --- a/drivers/mmc/card/block.c +++ b/drivers/mmc/card/block.c @@ -440,6 +440,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) {