Message ID | 1492676084-28218-6-git-send-email-yangbo.lu@nxp.com (mailing list archive) |
---|---|
State | Accepted, archived |
Headers | show
Return-Path: <linux-mmc-owner@kernel.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 15DBB600C8 for <patchwork-linux-mmc@patchwork.kernel.org>; Thu, 20 Apr 2017 08:30:22 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 06896223B2 for <patchwork-linux-mmc@patchwork.kernel.org>; Thu, 20 Apr 2017 08:30:22 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id EF94828459; Thu, 20 Apr 2017 08:30:21 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5BA60223B2 for <patchwork-linux-mmc@patchwork.kernel.org>; Thu, 20 Apr 2017 08:30:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S967402AbdDTIaT (ORCPT <rfc822;patchwork-linux-mmc@patchwork.kernel.org>); Thu, 20 Apr 2017 04:30:19 -0400 Received: from mail-sn1nam01on0045.outbound.protection.outlook.com ([104.47.32.45]:41569 "EHLO NAM01-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S967755AbdDTI3y (ORCPT <rfc822;linux-mmc@vger.kernel.org>); Thu, 20 Apr 2017 04:29:54 -0400 Received: from BN3PR03CA0093.namprd03.prod.outlook.com (10.174.66.11) by BY2PR0301MB0597.namprd03.prod.outlook.com (10.160.124.28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1034.10; Thu, 20 Apr 2017 08:29:53 +0000 Received: from BN1AFFO11FD016.protection.gbl (2a01:111:f400:7c10::121) by BN3PR03CA0093.outlook.office365.com (2603:10b6:400:4::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1047.13 via Frontend Transport; Thu, 20 Apr 2017 08:29:52 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=nxp.com; nxp.com; dkim=none (message not signed) header.d=none;nxp.com; dmarc=fail action=none header.from=nxp.com; Received-SPF: Fail (protection.outlook.com: domain of nxp.com does not designate 192.88.168.50 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.168.50; helo=tx30smr01.am.freescale.net; Received: from tx30smr01.am.freescale.net (192.88.168.50) by BN1AFFO11FD016.mail.protection.outlook.com (10.58.52.76) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1019.14 via Frontend Transport; Thu, 20 Apr 2017 08:29:52 +0000 Received: from titan.ap.freescale.net ([10.192.208.233]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id v3K8Tbd4002714; Thu, 20 Apr 2017 01:29:49 -0700 From: Yangbo Lu <yangbo.lu@nxp.com> To: <linux-mmc@vger.kernel.org>, <ulf.hansson@linaro.org>, Adrian Hunter <adrian.hunter@intel.com> CC: Xiaobo Xie <xiaobo.xie@nxp.com>, Yangbo Lu <yangbo.lu@nxp.com> Subject: [v5, 5/5] mmc: sdhci-of-esdhc: add delay between tuning cycles Date: Thu, 20 Apr 2017 16:14:44 +0800 Message-ID: <1492676084-28218-6-git-send-email-yangbo.lu@nxp.com> X-Mailer: git-send-email 2.1.0.27.g96db324 In-Reply-To: <1492676084-28218-1-git-send-email-yangbo.lu@nxp.com> References: <1492676084-28218-1-git-send-email-yangbo.lu@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131371505922012768; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.168.50; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(336005)(39380400002)(39850400002)(39410400002)(39840400002)(39860400002)(39400400002)(39450400003)(2980300002)(1109001)(1110001)(339900001)(199003)(189002)(9170700003)(189998001)(85426001)(5660300001)(36756003)(81166006)(6666003)(4326008)(105606002)(230783001)(47776003)(77096006)(2906002)(50986999)(76176999)(8936002)(104016004)(53936002)(8656002)(50466002)(48376002)(106466001)(33646002)(38730400002)(8676002)(2950100002)(5003940100001)(86362001)(305945005)(356003)(54906002)(50226002); DIR:OUT; SFP:1101; SCL:1; SRVR:BY2PR0301MB0597; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; MLV:ovrnspm; A:1; MX:1; PTR:InfoDomainNonexistent; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1AFFO11FD016; 1:SIPbec2FbObhZ8EE1G3w9W2lJsW274HrcFeH7YVD+3mGdZLyw4ja9ZhC/3qr16HwZwYPpSlG5Qa3uFXk99sSlgfjrpNLBJBVyUU1Iv/o3HKEef45LY3lJu59J/Yk8wTrumAac+zRyyEGyWYrqyfGBqjypDbq7hna4lDR4nQLFX8X7UXzL9JKwkVLllaGrB1OjMIG5HeEFNgGI3J3GM52FElmh0TGC4WUc9jEWXDNQai8PuaI0pNOa7jD7PMIy1ZP9tZkTZEARYNnt7xujqn/LyOCiecdE0MRZ65sNx4aVIhMql2JHFWmimH5S72NY6aXx+d4gKE5Mq+TzEV85oQ09Ca5E8MzTJbxJVUP19Fl/7+XNoxz4wbcUzSPxoEsURBlDP4T6MzBdTe0v4pzJXi/2+ZsfagTZ48NMj4kt5Ucl+W0Lb+OJiriJIMOLL+rBKqROd26FzEc0pyGDHne711STqnZnJuozgOYMU+fy6joNfD05fBEL471VT3mZKw8N2vB178vTDBhAi87ZHIfLOWL4LR5JsL/v0e4xTCDrRoFWlaYknxzw+L1uVrXOIrZ5RHIcFBHx4ZPxsHK9x7auhnAQXqMbMlPAORg4/NQzCir13NE2g1NCqTa+DwWrSwuCIDMrEKg+rE/Eiqj8i/6YmeBklzwWxESCWF0rTi8h3e3haDNQaqnlXo1iC+W9dDINTsQuc6H52e7jZP3DGl4BCvw/DtNpQVrvW+TtKnY0q9VvYrW5KpIjLfAuqq/d0IOHDeGlBTWtyeQ+6zOEbZKn8cFzQ== MIME-Version: 1.0 Content-Type: text/plain X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 5d341019-65da-4697-94ff-08d487c76a8b X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(201703131430075)(201703131517081); SRVR:BY2PR0301MB0597; X-Microsoft-Exchange-Diagnostics: 1; BY2PR0301MB0597; 3:VexMlOHCTRpNWmP1/aaVhQK6f8DK+s5oHcBMrwDU32ar436+V1ZXxsEv3QBcPx84NjR98g9RPAJlacDLgA8BnNTroDM8ie8v+zlte6lTdlRZS94zm7m0JqRXkQaoPBk/EH1ru/YPS0WiSySZ6vILV7aJNaT0tigdjxuD5ypgfF+kk8CzfURNBp8hkoNGEngDNlzwJ2LRAZYRSz1P7+wrrWSSI1DkNGy845tDL5Cepi9+FuI92BUBEtlhVX2URbMkyTNktRnofqmGbYiYBTOePCvnw98Q6BB/zCef5aDja2c78RZCFA9CHlX9rOwRqs9MuNCMV+A1Mkctmyn4VUSP2qukX5Ns+4aIzDm5J04/hj15QEbvzuH3Jf3WOFpiGDxxaERTeeE+fjfYZkbI32PsAy0DZotOoH0VK8v0edb0sANec5rM4MXvxYORxERFehSG; 25:UvQFKYggVlLYKRNcg5Sj7qIaX7WsSi/HMNh3N38UI80aJDODxzzqn5NWoSLI2hDiBznGqRhgouNLa88nE1NJg6OrgAF6mio9H1Vi8Sk4DCFc02kIEtgggW2QQts3VPUEym+qJOrYdy0yUKKVrPBYKJsoXzTEb7GaD5cscOPmmgy/QfFCMKNBE9Khc5JoAIYMDcPVwhFV3rR8v7iysUexN1y3mhh+vdaxd97uyyFKeszJmYMwU6a1aesAviyGoY6n9wwH6qoNyo+Os/6dKA0srfJpYCmhlxKBTg7F+lr3p89eIGlzqte1XwBKYOOMyvVxMPx+M4y8uVgbkbWkOl5+LLqKYYMQacvMH8Vny7CYn3/n0iLloO+VLC7jaOWhS7GPbEYbfpkclyii6zFysk756CvNNiCBNeQQp/lL9pe2fodpdHssjRUAlIVOWDgdLUkARraNcpYlJRT0c7mjXweDGA== X-Microsoft-Exchange-Diagnostics: 1; BY2PR0301MB0597; 31:rMkgn/DgztdVhMegj/UN+lpqcbVGxsLw+aJE4JJQeg5ZjNpayBBnf/TYKXwFcuF38Haorj1RgAio0FME5/4tRwVNzPOGbjDxdUEL49DUXtXZDkmFEcfq7tbJA9UDibc93A+Iz+11kXfVcOGBSCEDBGHhTWy08mTnMylYyqvEO1aF0ENWyKq/zNSQVahsArW3eSNtGVhzMe9OrO/fpnCc94sMIV3syVzgLgVKi35PxrkgJHIFtwfPU/RITnB5/MCnCZ9I9fakXFku59/WS7dDMIJuA+zQjEAq3gD89m0M1Gg= X-Microsoft-Antispam-PRVS: <BY2PR0301MB0597615062B524094F94631EF81B0@BY2PR0301MB0597.namprd03.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:(185117386973197)(228905959029699); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6095135)(601004)(2401047)(13017025)(5005006)(8121501046)(13015025)(13024025)(13023025)(13018025)(10201501046)(3002001)(93006095)(93001095)(6055026)(6096035)(20161123561025)(20161123565025)(20161123556025)(20161123563025)(201703131430075)(201703131433075)(201703131441075)(201703131448075)(201703161259150); SRVR:BY2PR0301MB0597; BCL:0; PCL:0; RULEID:(400006); SRVR:BY2PR0301MB0597; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BY2PR0301MB0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ii?Q?jCYWxI03LFA1baGwVovInLaFvPv1tptbYnwAatStRvjGAWRTo9+K3UJt6Q/Z?= =?us-ascii?Q?DXcmPTdroCDMmVQKc0KyT7sswqzRMzDjBGTFPUc8wA=3D=3D?= X-Forefront-PRVS: 02830F0362 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BY2PR0301MB0597; 23:R8yLmkA9D9ey/ZRd1vktegR8Lu9LD6J7uPU7RIr?= =?us-ascii?Q?DARjfiFlQmHe/TQQAf6LVITEEaLXvNs8mdvqI5KGIfxyashC4tOd6+Ez56Ro?= =?us-ascii?Q?5B8+x0y1+elx1TnVAbHrM/H6ybciHwfPh5QZYUIsqerz1hDfbIQ61m6jk6Cw?= =?us-ascii?Q?JPteAsDQSrs1yYebVUSRPMdXtrRQAp+uNCmuBUpd+NYW9oZ5XZKQURaY7lXY?= =?us-ascii?Q?1D7CAb7i/UEG1dfs2M6aJXmqxSREYQTgm5l5aRhXruuRIkqsLMllfCxKtD9f?= =?us-ascii?Q?TPEdftkNcMHuhFLr6wHyjfGzUyMISDV4U7VidlC1Y/WV8Op7J17X9Ig6wvn1?= =?us-ascii?Q?PqIGqr41RUIwkffQmlbwR3VK49mFDETiy0sCgBfKoFDfWTxXDG/YufJPtBLw?= =?us-ascii?Q?SAds2E21ZwIdtSFWbmQ1cZIVBeUMV3tHyCtt2JmH+jQorGRraZvzV8380H4i?= =?us-ascii?Q?Uqq3C24PbUUokrwH0MZXjL9dZJB88OygMrjjC7MtxnbwjnxyBtVPa8hod2yR?= =?us-ascii?Q?aFUmhg81S1IzX/uURieXOww6N33SSdaId3nCqFTpyzAui4zQYf6m+lFBW+M0?= =?us-ascii?Q?zSQSGvfdoFzjhiHhA2R2Jo2Utax0PPu28kBM10Cs5HVVKmPZItSG9DEISiAL?= =?us-ascii?Q?dBrEXYi8JU8BZGd3bAIH3IsoehBSs/l3h6OHoX+Qpuq+ZpXx2cA4SXI8Zw64?= =?us-ascii?Q?P7RMUrpFidgg7oPc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NvBel67GDkQY/VwzcSi52dF3RNZ6Ps6fSLvuAWfn6DyKQeja/mvliP5T8nGMLWbatrtroc7ucBa+MEaa0Ecfoge8Gn/BcuQ==; 5:xvgVbVjzJgnMI8fiRB3BGeQQqZpui+6RQDRHgXxzNbD/f4QmGZ2Yp8UKYQ7tQWmBrZ8p6BwVLYcpPChKyaOuM2sbeHoLs5hPguZllxNBpAw3ng0vd4UR/9P/iatxC0y80qk40CTYYhaI8gigE9EbiV3kX0HoQ42ApAOHxpE052bU4OAI6sVD11t8po7aB5u/; 24:h0BFf9RkWYvHhHmvV1satLAGz6Z/cXCxcOb2utsVuRnHGan9/E2EarsZPvrsWvYLSje7ZYLqoU2Pd15+9gGMXFHXa2jVo3rLOZDM4FKxfo8= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BY2PR0301MB0597; 7:Q51XSqbVanwGp9KmIRTNwPneZQGQtuSu1l094hiunJoH26UVIhElFsDeKflloivIKQ6MmH0Kft6TtHqpnpEXJ+0z70sqYTPWOnrhnNOyAejUWig+Qi6vuDo7QdzXFBl0P1qfBZb8dfkGpgrraOHUrrI5qaiyjQVJEmhKfhc9PPbc70YNYruwe2MDQbJ0dDSB6/uG6auBA+rkXy6HRWODmH2rCgaeKZWv1g1HDyjEepuntSEixltt4osbeP3nnoGXUssU4eOcyq37N5pt3N6JQoQSZVEJ55ZwT3cYLjQyRvLS38XadXFhjmveVjPEjhU1qznpPWEbwGbZRsY5RJxJfg== X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Apr 2017 08:29:52.0140 (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.168.50]; Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR0301MB0597 Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: <linux-mmc.vger.kernel.org> X-Mailing-List: linux-mmc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/drivers/mmc/host/sdhci-of-esdhc.c b/drivers/mmc/host/sdhci-of-esdhc.c index 607e512..7518360 100644 --- a/drivers/mmc/host/sdhci-of-esdhc.c +++ b/drivers/mmc/host/sdhci-of-esdhc.c @@ -810,6 +810,7 @@ static int sdhci_esdhc_probe(struct platform_device *pdev) host->mmc_host_ops.start_signal_voltage_switch = esdhc_signal_voltage_switch; host->mmc_host_ops.execute_tuning = esdhc_execute_tuning; + host->tuning_delay = 1; esdhc_init(pdev, host);