Message ID | 1434564337-24720-6-git-send-email-aisheng.dong@freescale.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> X-Original-To: patchwork-linux-arm@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 8AB039F358 for <patchwork-linux-arm@patchwork.kernel.org>; Wed, 17 Jun 2015 18:11:53 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id AE99620858 for <patchwork-linux-arm@patchwork.kernel.org>; Wed, 17 Jun 2015 18:11:52 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id CAA8120654 for <patchwork-linux-arm@patchwork.kernel.org>; Wed, 17 Jun 2015 18:11:51 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Z5HmN-0007bk-Vy; Wed, 17 Jun 2015 18:09:40 +0000 Received: from mail-bl2on0141.outbound.protection.outlook.com ([65.55.169.141] helo=na01-bl2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Z5Hm9-0007Ep-Rr for linux-arm-kernel@lists.infradead.org; Wed, 17 Jun 2015 18:09:26 +0000 Received: from BLUPR0301CA0016.namprd03.prod.outlook.com (10.162.113.154) by BLUPR03MB1412.namprd03.prod.outlook.com (10.163.81.146) with Microsoft SMTP Server (TLS) id 15.1.190.14; Wed, 17 Jun 2015 18:09:02 +0000 Received: from BN1AFFO11FD042.protection.gbl (2a01:111:f400:7c10::107) by BLUPR0301CA0016.outlook.office365.com (2a01:111:e400:5259::26) with Microsoft SMTP Server (TLS) id 15.1.195.15 via Frontend Transport; Wed, 17 Jun 2015 18:09:02 +0000 Authentication-Results: spf=fail (sender IP is 192.88.158.2) smtp.mailfrom=freescale.com; lists.infradead.org; dkim=none (message not signed) header.d=none; Received-SPF: Fail (protection.outlook.com: domain of freescale.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 BN1AFFO11FD042.mail.protection.outlook.com (10.58.52.253) with Microsoft SMTP Server (TLS) id 15.1.190.9 via Frontend Transport; Wed, 17 Jun 2015 18:08:27 +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 t5HI7jAf003611; Wed, 17 Jun 2015 11:08:15 -0700 From: Dong Aisheng <aisheng.dong@freescale.com> To: <linux-mmc@vger.kernel.org> Subject: [PATCH 5/6] mmc: sdhci-esdhc-imx: clear f_max in boarddata Date: Thu, 18 Jun 2015 02:05:36 +0800 Message-ID: <1434564337-24720-6-git-send-email-aisheng.dong@freescale.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1434564337-24720-1-git-send-email-aisheng.dong@freescale.com> References: <1434564337-24720-1-git-send-email-aisheng.dong@freescale.com> X-EOPAttributedMessage: 0 X-Microsoft-Exchange-Diagnostics: 1; BN1AFFO11FD042; 1:ET2bWY+DZ9RiTknCpXnJtzJmaTFOSuQhHQATjA3n+FzDjblamp64bb7UeGsRlRIvKLKR0YB8Q1UQOJEJcVlhcdklvRM0oqj7mviFTaQvD2brNeUjTVxXorV7r4xpjK13FiHaQgwpjz7Gr4NyEFZRe/2rZoZBvsCbR9j5hceWfdlK/SVwk4qQCjl/K7WEjZf6oDW2FG6vCgXnekb+kxkPtktLsAT6luaomQNsnWcE9/XqsblgmXq9yx6/fk0ytrWakULJg1aCx7COPkBmO0AWcdvrOOc9ytwgefLrf6s1ZLvr0BtZVr9YTleGgKMISH6Ea1klso81ggl+HGq3/Nc5eqa46tdXgMD6NdWR7qvwe9s= X-Forefront-Antispam-Report: CIP:192.88.158.2; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(2980300002)(339900001)(189002)(199003)(110136002)(5001960100002)(189998001)(36756003)(77156002)(230783001)(62966003)(229853001)(2351001)(2950100001)(50466002)(81156007)(92566002)(47776003)(19580395003)(85426001)(48376002)(87936001)(105606002)(104016003)(33646002)(50226001)(77096005)(6806004)(575784001)(46102003)(86362001)(19580405001)(76176999)(106466001)(50986999); DIR:OUT; SFP:1102; SCL:1; SRVR:BLUPR03MB1412; H:az84smr01.freescale.net; FPR:; SPF:Fail; MLV:ovrnspm; MX:1; A:1; PTR:InfoDomainNonexistent; LANG:en; MIME-Version: 1.0 X-Microsoft-Exchange-Diagnostics: 1; BLUPR03MB1412; 2:UooLM/b+kCW6tIGn3rLrz8E5g76kpQIPVSLO8dhipKavxKUjNNDhj6BP5Qn6X1Un; 2:NlhtCHa6iTEddtZrRxo5mE9nxZsbyK9bK58l+QlreiCVHmGLBXAmtW76KKoI4XhFb9yTbtu+RI6f7rUk6o0gmiCLmepdKhSU4LXKrr7ousPI01vh5pGyxYlcYlxQB+zFAnlboUpaRaLAyFwRZQ87EM6o+BzrS6Iz4RFgQuq62t69nxGZfJhd+9x62ZcWxN9hIYmTnfmnagPKOLYGg9lFLbC46dlBn3C4CoqEdQXNKG0=; 6:Y2cwGazZc/zA/9kXfNVsfd+v4lFclclvEQxFw/xVCBxEXmBG5Hb3J1CX4j2rlRCenU2WH6NOlEA/c1figFfMRLkszFjfw60l/hj/fneeXPl8OwBOQtgaT6azggZawy75ZxpIHRVM3uVUDR0645TDvsvZ8gYdLZFXTN96PP/2Jj1LMmt76rS7WyIP4J0S+olHPIUPx8S+tFhTa/sT+SZc3Wg/7/oSkg0KidGtO8jdwjHeHdHT7DrT/Bto6zOWCnMgc1L26lkfPbZ5pqunw9RqCqj4nooSibScI76uNwlE95GKn/Yoksd6QkTFSHVGVrFQBgpQ8+QiPXRzoIufhywy1g==; 3:L4qs/peMwhlrWJO8WugwoE3flA7XEX6bT4VperpSaQDKvQEEsgzCLD19TylBfmVqMLpfDL+NnRu0xZZ3pg3JzQ4iiqkyoZpPohJqDBK8vCL6dJ91Brls6dPWseZXdX7a4ryaZ724/SWXwLNkCCcInIbIAMIjBmTH508yWc4OWs0jjKFJ6v+zQyO8VAzeIg27UE7AE6n7e3WuR0+PolV9bVl5O2fcom0i9XfmoT7w7KrcOvAh5tmYH8f5RtElp/Qkr8zjd0UPcQ/e2EaA7s/13JEsfuYrV//tWy0OU6OiHOh0vMGvrwsFOZN+JWwIf2jt X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BLUPR03MB1412; X-Microsoft-Antispam-PRVS: <BLUPR03MB1412A132A89DAF00FE3CDA1E8AA60@BLUPR03MB1412.namprd03.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(5005006)(520003)(3002001); SRVR:BLUPR03MB1412; BCL:0; PCL:0; RULEID:; SRVR:BLUPR03MB1412; X-Forefront-PRVS: 0610D16BBE X-Microsoft-Exchange-Diagnostics: 1; BLUPR03MB1412; 9:RfPDVUYDhjzVzNKD3T9kCdarMV7zhfoLYKUNYNwMVBKGWv1QpKDohADVs5jd4zDC5e+Mw6H/C7/PVHTKu+L+5g+QhfAzGyqIBwMzWXWeGjJ6adF6D8E7Ne7Pp40PNoh/w59uI2QAq7lZt1/VzNsHuiRbQ+GbjSGzPCx7kWPdGS3ArXSTFZnoBoHmuC0dhb0NVvgOxAJuwKqFd2iBoLZr8GRXBUkO5DB5SiwaEihTNYrTx/snN2g8iIy7NBT/Vua1i95gR8q3cZ6M5wmImFkelEqbWvZLBhWdYiNfQKdKPljw4DTpWUgv6esftKQjo+cSeu7afjFZSU8vUJ9r0G8vixevGUb11ELY4344c4gAYTk7dPp7l/lFvHMI6La31mfLgnH2rZi1LmXx++Ld+bomflXdwrp6X9nl8PvjCEHevGumgFaGymZ3bDxF5XJDOmQMyNkCnR4Nw0bHDC1QQOlZs9r72CI6r4K4ualdrpf3EVdaJ+WyO6ADG2DKSjUVMRI2vZ2IvY9+5HUhGGdu+z/I56FXzkumodWAdsQSHr1pNesqoEeihjWllZR1M3DaIdWVkTP0N08rVtKlV9D3hJNwnzhP4JPzqYkRnfR8uz9DlakKkh7SMhvxrwOKcUO9kF1cqZBLvdi7m9kH7H+vOGUaakssQN98Z8414HmB5zPgjvJ3RUxu/bh+8FqRTgSOJQoYrk6yl1q8SzMopAuPB9h1RTcjumThVXtF+3TLzTWO0VyUum0GZYxxOLCwV3bTZSXBoKAZa+2yQWRiZ9SVyggsV5/FAA3n1yqE1CNonnLv6LM9KWucJuOsLJQ/kEJz7SJ+mqCNKYUBg7MnOax9HmSmh1nSAjL/4RyJlR/ftuDPdlmUaX6ZHwgqz7nYJZE+ohes8wgUMlIKf0syEmcDoNyO1iK+FzUdw5pcdW5FYvM1pIpxoe68WjvetW05fIWLV2qd X-Microsoft-Exchange-Diagnostics: 1; BLUPR03MB1412; 3:3tlC6dJtFaBWr/yX3WRCgXZtrWMyqbqen815agCmKTH0k8TZ2zy9UfILSLu3k8zzFvfkbEwe6gE45pTDFrDHTvx1v96l6LCs81fY8+upRf8x9EFAHvl1Vj226kbdmM2TtEVIuEaBWTSA7J0TVNmMCg==; 10:+BkdQgXxb2ByL114pN8Vv5fHSBuyK4DzvxfIabigh7euqIgqORo0OYAwFY7pA9VxNQVKC1/3JKQXM0BWILnobiE8O0g8cZUNkSNPBZ1XMVU=; 6:wIieqLZckYz65Ln8rDIsdmB7FrPS9OY5+3aVWQm8aL7fORQQ8ulbf9AwOccY8an9 X-OriginatorOrg: freescale.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Jun 2015 18:08:27.3333 (UTC) X-MS-Exchange-CrossTenant-Id: 710a03f5-10f6-4d38-9ff4-a80b81da590d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=710a03f5-10f6-4d38-9ff4-a80b81da590d; Ip=[192.88.158.2]; Helo=[az84smr01.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR03MB1412 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150617_110926_117062_4ABF9238 X-CRM114-Status: UNSURE ( 7.84 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.0 (/) Cc: fabio.estevam@freescale.com, marex@denx.de, ulf.hansson@linaro.org, s.trumtrar@pengutronix.de, smoch@web.de, linux-arm-kernel@lists.infradead.org, robertcnelson@gmail.com, s.hauer@pengutronix.de, chris@printf.net, rabeeh@solid-run.com, troy.kisky@boundarydevices.com, lisovy@gmail.com, hs@denx.de, gwenhael.goavec-merou@armadeus.com, p.zabel@pengutronix.de, rmk+kernel@arm.linux.org.uk, shawn.guo@linaro.org, b29396@freescale.com, tharvey@gateworks.com, LW@KARO-electronics.de, ipaton0@gmail.com X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.8 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable 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 |
diff --git a/drivers/mmc/host/sdhci-esdhc-imx.c b/drivers/mmc/host/sdhci-esdhc-imx.c index 1b0e618..c6b9f64 100644 --- a/drivers/mmc/host/sdhci-esdhc-imx.c +++ b/drivers/mmc/host/sdhci-esdhc-imx.c @@ -581,13 +581,8 @@ static void esdhc_writeb_le(struct sdhci_host *host, u8 val, int reg) static unsigned int esdhc_pltfm_get_max_clock(struct sdhci_host *host) { struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); - struct pltfm_imx_data *imx_data = pltfm_host->priv; - struct esdhc_platform_data *boarddata = &imx_data->boarddata; - if (boarddata->f_max && (boarddata->f_max < pltfm_host->clock)) - return boarddata->f_max; - else - return pltfm_host->clock; + return pltfm_host->clock; } static unsigned int esdhc_pltfm_get_min_clock(struct sdhci_host *host) diff --git a/include/linux/platform_data/mmc-esdhc-imx.h b/include/linux/platform_data/mmc-esdhc-imx.h index 75f70f6..e1571ef 100644 --- a/include/linux/platform_data/mmc-esdhc-imx.h +++ b/include/linux/platform_data/mmc-esdhc-imx.h @@ -43,7 +43,6 @@ struct esdhc_platform_data { enum wp_types wp_type; enum cd_types cd_type; int max_bus_width; - unsigned int f_max; bool support_vsel; unsigned int delay_line; };
After commit 8d86e4fcccf6 ("mmc: sdhci-esdhc-imx: Call mmc_of_parse()"), it's not used anymore. Signed-off-by: Dong Aisheng <aisheng.dong@freescale.com> --- drivers/mmc/host/sdhci-esdhc-imx.c | 7 +------ include/linux/platform_data/mmc-esdhc-imx.h | 1 - 2 files changed, 1 insertion(+), 7 deletions(-)