From patchwork Fri Apr 15 17:29:35 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aisheng Dong X-Patchwork-Id: 8854291 Return-Path: X-Original-To: patchwork-linux-mmc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 624989F3A0 for ; Fri, 15 Apr 2016 17:53:01 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 96AF120218 for ; Fri, 15 Apr 2016 17:53:00 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 6257420256 for ; Fri, 15 Apr 2016 17:52:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751040AbcDORw6 (ORCPT ); Fri, 15 Apr 2016 13:52:58 -0400 Received: from mail-bl2on0054.outbound.protection.outlook.com ([65.55.169.54]:57235 "EHLO na01-bl2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751050AbcDORw5 (ORCPT ); Fri, 15 Apr 2016 13:52:57 -0400 Received: from DM2PR03CA0050.namprd03.prod.outlook.com (10.141.96.49) by CY1PR0301MB1228.namprd03.prod.outlook.com (10.161.212.150) with Microsoft SMTP Server (TLS) id 15.1.466.19; Fri, 15 Apr 2016 17:37:40 +0000 Received: from BN1BFFO11FD029.protection.gbl (2a01:111:f400:7c10::1:117) by DM2PR03CA0050.outlook.office365.com (2a01:111:e400:2428::49) with Microsoft SMTP Server (TLS) id 15.1.453.26 via Frontend Transport; Fri, 15 Apr 2016 17:37:40 +0000 Authentication-Results: spf=fail (sender IP is 192.88.158.2) smtp.mailfrom=nxp.com; gmail.com; dkim=none (message not signed) header.d=none; gmail.com; dmarc=none action=none header.from=nxp.com; Received-SPF: Fail (protection.outlook.com: domain of nxp.com does not designate 192.88.158.2 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.158.2; helo=az84smr01.freescale.net; Received: from az84smr01.freescale.net (192.88.158.2) by BN1BFFO11FD029.mail.protection.outlook.com (10.58.144.92) with Microsoft SMTP Server (TLS) id 15.1.472.8 via Frontend Transport; Fri, 15 Apr 2016 17:37:39 +0000 Received: from shlinux2.ap.freescale.net (shlinux2.ap.freescale.net [10.192.224.44]) by az84smr01.freescale.net (8.14.3/8.14.0) with ESMTP id u3FHb2HM019919; Fri, 15 Apr 2016 10:37:36 -0700 From: Dong Aisheng To: CC: , , , , , , , Subject: [PATCH 11/23] mmc: sdhci-esdhci-imx: remove SDHCI_QUIRK_BROKEN_TIMEOUT_VAL Date: Sat, 16 Apr 2016 01:29:35 +0800 Message-ID: <1460741387-23815-12-git-send-email-aisheng.dong@nxp.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1460741387-23815-1-git-send-email-aisheng.dong@nxp.com> References: <1460741387-23815-1-git-send-email-aisheng.dong@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131052154599217527; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.158.2; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(2980300002)(1110001)(1109001)(339900001)(189002)(199003)(36756003)(104016004)(5008740100001)(6806005)(81166005)(189998001)(5003940100001)(4326007)(19580405001)(19580395003)(1096002)(1220700001)(110136002)(50986999)(76176999)(105606002)(2351001)(229853001)(87936001)(85426001)(11100500001)(106466001)(50466002)(2906002)(48376002)(86362001)(2950100001)(92566002)(77096005)(50226001)(230783001)(47776003)(33646002)(586003)(7059030); DIR:OUT; SFP:1101; SCL:1; SRVR:CY1PR0301MB1228; H:az84smr01.freescale.net; FPR:; SPF:Fail; MLV:sfv; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1BFFO11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S6HkwOo2rs2ROuWTeh8J8KgrMaSCQmoNmsaCoK2WjhbmmdFE/+0brjf/4EG0iol/a940LYjohIHb5swaDgcL57Hf4dBbLSWXM02bQJMERYw=; 25:cnJ1zsrxgqFdobKQ+86rfNSC8hOWkp/dtNvCtTQzMAAdMH8dQkZFhNZNf6X5eKRWcpcsorZmpZK7TYHEshTli2rKTsgvjw0I/OB76MCxH/amoF5HT0jvwYst8F3k5YqlnjbbVL8wAl32RPC86glf1cmcLDcqNRkG8xtGXkGHIerUK9vU4F86U7j8EwDifeCRxeCbg1SEMLlF/g55o4XwqjhKyN8iGekYp8fNft2Z8i3URIeG6rm/zon+6DzwWSdOGFpi1+47RimvUUCFUDpzRC/TpAZNqR0c75sS6MRptt69pbiWUWOX6/ovmoKp9e/74c8fv1SBJ6/41xuHKouQhw== X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:CY1PR0301MB1228; X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(13018025)(13023025)(13024025)(13017025)(13015025)(5005006)(8121501046)(3002001)(10201501046)(6055026); SRVR:CY1PR0301MB1228; BCL:0; PCL:0; RULEID:(400006); SRVR:CY1PR0301MB1228; X-Microsoft-Exchange-Diagnostics: 1; CY1PR0301MB1228; 4:xdgLKCZRs+U7AJ4QUINJu/uvmkSi1zuBMryPeRdPlUiBLhOd6YJdYFQj5h+e/wcryjx5TW+voXn3gf73NK89mKOY22DLUb17l8+h6kffxR3LY8YRc3iSLrhxIvJENLsyiVs3gWnU0TfoLZHdVGKQyPPLn2wyb8z7KmZu9nJ4jPifEvqsniuL3nJWLL/zU/kWsP6QgLi2J2qVwpjs2WPxp8R2z9BroKMYNRJfvEyOwlpfrDxyKUH4kaIEAJkYn/ZZEtaeitGlsNhaxLRK/HJ4didgx3M2FmsmRmDdPHGo60WhJ2IkOrAlcLwSBsxbDIaACF7B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OWGwV+IWAVD0F4psZbnBf4ddXydpewBdO/ZxE8hWDzUWLFGbU10= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Apr 2016 17:37:39.1729 (UTC) X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e; Ip=[192.88.158.2]; Helo=[az84smr01.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR0301MB1228 Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org X-Spam-Status: No, score=-7.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The driver has already implemented the private .set_timeout() callback for common SDHCI code to do correct timeout value setting, it does not need call sdhci_calc_timeout(), so this quirk actually is not working. Remove it now. Signed-off-by: Dong Aisheng Acked-by: Adrian Hunter --- drivers/mmc/host/sdhci-esdhc-imx.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/mmc/host/sdhci-esdhc-imx.c b/drivers/mmc/host/sdhci-esdhc-imx.c index 2d300d8..03980db 100644 --- a/drivers/mmc/host/sdhci-esdhc-imx.c +++ b/drivers/mmc/host/sdhci-esdhc-imx.c @@ -1147,8 +1147,6 @@ static int sdhci_esdhc_imx_probe(struct platform_device *pdev) if (IS_ERR(imx_data->pins_default)) dev_warn(mmc_dev(host->mmc), "could not get default state\n"); - host->quirks |= SDHCI_QUIRK_BROKEN_TIMEOUT_VAL; - if (imx_data->socdata->flags & ESDHC_FLAG_ENGCM07207) /* Fix errata ENGcm07207 present on i.MX25 and i.MX35 */ host->quirks |= SDHCI_QUIRK_NO_MULTIBLOCK