From patchwork Mon Jul 11 05:27:11 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: aaron lu X-Patchwork-Id: 963352 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.4) with ESMTP id p6B5h8Z9009147 for ; Mon, 11 Jul 2011 05:43:08 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756495Ab1GKFnG (ORCPT ); Mon, 11 Jul 2011 01:43:06 -0400 Received: from va3ehsobe010.messaging.microsoft.com ([216.32.180.30]:55996 "EHLO VA3EHSOBE010.bigfish.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756510Ab1GKFnF (ORCPT ); Mon, 11 Jul 2011 01:43:05 -0400 X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Mon, 11 Jul 2011 05:43:08 +0000 (UTC) X-Greylist: delayed 903 seconds by postgrey-1.27 at vger.kernel.org; Mon, 11 Jul 2011 01:43:05 EDT Received: from mail107-va3-R.bigfish.com (10.7.14.237) by VA3EHSOBE010.bigfish.com (10.7.40.12) with Microsoft SMTP Server id 14.1.225.22; Mon, 11 Jul 2011 05:28:02 +0000 Received: from mail107-va3 (localhost.localdomain [127.0.0.1]) by mail107-va3-R.bigfish.com (Postfix) with ESMTP id 2E9561488089; Mon, 11 Jul 2011 05:28:02 +0000 (UTC) X-SpamScore: 1 X-BigFish: VPS1(zzzz1202hzz8275bhz32i668h839h61h) X-Spam-TCS-SCL: 0:0 X-Forefront-Antispam-Report: CIP:163.181.249.109; KIP:(null); UIP:(null); IPVD:NLI; H:ausb3twp02.amd.com; RD:none; EFVD:NLI Received: from mail107-va3 (localhost.localdomain [127.0.0.1]) by mail107-va3 (MessageSwitch) id 131036208251950_19363; Mon, 11 Jul 2011 05:28:02 +0000 (UTC) Received: from VA3EHSMHS007.bigfish.com (unknown [10.7.14.252]) by mail107-va3.bigfish.com (Postfix) with ESMTP id EA06518E8046; Mon, 11 Jul 2011 05:28:01 +0000 (UTC) Received: from ausb3twp02.amd.com (163.181.249.109) by VA3EHSMHS007.bigfish.com (10.7.99.17) with Microsoft SMTP Server id 14.1.225.22; Mon, 11 Jul 2011 05:28:01 +0000 X-WSS-ID: 0LO5LUI-02-UG2-02 X-M-MSG: Received: from sausexedgep01.amd.com (sausexedgep01-ext.amd.com [163.181.249.72]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by ausb3twp02.amd.com (Axway MailGate 3.8.1) with ESMTP id 262E1C88B5; Mon, 11 Jul 2011 00:27:54 -0500 (CDT) Received: from sausexhtp01.amd.com (163.181.3.165) by sausexedgep01.amd.com (163.181.36.54) with Microsoft SMTP Server (TLS) id 8.3.106.1; Mon, 11 Jul 2011 00:28:49 -0500 Received: from sausexmb1.amd.com (163.181.3.156) by sausexhtp01.amd.com (163.181.3.165) with Microsoft SMTP Server id 8.3.83.0; Mon, 11 Jul 2011 00:27:59 -0500 Received: from storexbh1.amd.com ([10.1.1.17]) by sausexmb1.amd.com with Microsoft SMTPSVC(6.0.3790.3959); Mon, 11 Jul 2011 00:27:58 -0500 Received: from sshaexmb1.amd.com ([10.237.2.11]) by storexbh1.amd.com with Microsoft SMTPSVC(6.0.3790.4675); Mon, 11 Jul 2011 01:27:55 -0400 Received: from torpedo-aaron.amd.com ([10.237.72.235]) by sshaexmb1.amd.com with Microsoft SMTPSVC(6.0.3790.4675); Mon, 11 Jul 2011 13:27:52 +0800 From: Aaron Lu To: Chris Ball CC: Arindam Nath , , Aaron Lu Subject: [PATCH] mmc: sdhci: fix retuning timer wrongly deleted in sdhci_tasklet_finish Date: Mon, 11 Jul 2011 13:27:11 +0800 Message-ID: <1310362031-8186-1-git-send-email-Aaron.Lu@amd.com> X-Mailer: git-send-email 1.7.1 X-OriginalArrivalTime: 11 Jul 2011 05:27:52.0228 (UTC) FILETIME=[47AAC640:01CC3F8B] MIME-Version: 1.0 X-OriginatorOrg: amd.com Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org Currently, the retuning timer for retuning mode 1 will be deleted in function sdhci_tasklet_finish after a mmc request done, which will make retuning timing never trigger again. This patch fixed this problem. Signed-off-by: Aaron Lu Reviewed-by: Philip Rakity --- drivers/mmc/host/sdhci.c | 3 --- 1 files changed, 0 insertions(+), 3 deletions(-) diff --git a/drivers/mmc/host/sdhci.c b/drivers/mmc/host/sdhci.c index 91d9892..6250bac 100644 --- a/drivers/mmc/host/sdhci.c +++ b/drivers/mmc/host/sdhci.c @@ -1863,9 +1863,6 @@ static void sdhci_tasklet_finish(unsigned long param) del_timer(&host->timer); - if (host->version >= SDHCI_SPEC_300) - del_timer(&host->tuning_timer); - mrq = host->mrq; /*