From patchwork Fri Jan 21 19:24:54 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philip Rakity X-Patchwork-Id: 496191 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p0LJOOH6003667 for ; Fri, 21 Jan 2011 19:25:03 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754811Ab1AUTZD (ORCPT ); Fri, 21 Jan 2011 14:25:03 -0500 Received: from na3sys009aog108.obsmtp.com ([74.125.149.199]:41787 "HELO na3sys009aog108.obsmtp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1754788Ab1AUTZC convert rfc822-to-8bit (ORCPT ); Fri, 21 Jan 2011 14:25:02 -0500 Received: from source ([65.219.4.129]) (using TLSv1) by na3sys009aob108.postini.com ([74.125.148.12]) with SMTP ID DSNKTTndiFwFJwlxDtywgbXhcc0lE5wuccuZ@postini.com; Fri, 21 Jan 2011 11:25:02 PST Received: from SC-vEXCH3.marvell.com ([10.93.76.133]) by SC-OWA01.marvell.com ([10.93.76.21]) with mapi; Fri, 21 Jan 2011 11:24:55 -0800 From: Philip Rakity To: "linux-arm-kernel@lists.infradead.org" , "linux-mmc@vger.kernel.org" CC: Mark Brown Date: Fri, 21 Jan 2011 11:24:54 -0800 Subject: [PATCH] sdhci: remove support for quirks in sdhci-pxa.c -- not used Thread-Topic: [PATCH] sdhci: remove support for quirks in sdhci-pxa.c -- not used Thread-Index: Acu5oOIcMqlfMlIxQ3a+SGB8dCVIMw== Message-ID: <84414D02-98FC-417B-A03B-8F76CC5717AE@marvell.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US MIME-Version: 1.0 Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Fri, 21 Jan 2011 19:25:03 +0000 (UTC) diff --git a/arch/arm/plat-pxa/include/plat/sdhci.h b/arch/arm/plat-pxa/include/plat/sdhci.h index bd6ac06..3f73f1f 100644 --- a/arch/arm/plat-pxa/include/plat/sdhci.h +++ b/arch/arm/plat-pxa/include/plat/sdhci.h @@ -23,12 +23,10 @@ /* * struct pxa_sdhci_platdata() - Platform device data for PXA SDHCI * @max_speed: the maximum speed supported - * @quirks: quirks of specific device * @flags: flags for platform requirement */ struct sdhci_pxa_platdata { unsigned int max_speed; - unsigned int quirks; unsigned int flags; unsigned short adjust_clocks; unsigned short clk_select; diff --git a/drivers/mmc/host/sdhci-pxa.c b/drivers/mmc/host/sdhci-pxa.c index 8c60d5c..ed044a8 100644 --- a/drivers/mmc/host/sdhci-pxa.c +++ b/drivers/mmc/host/sdhci-pxa.c @@ -121,9 +121,6 @@ static int __devinit sdhci_pxa_probe(struct platform_device *pdev) host->irq = irq; host->quirks = SDHCI_QUIRK_BROKEN_ADMA | SDHCI_QUIRK_BROKEN_TIMEOUT_VAL; - if (pdata->quirks) - host->quirks |= pdata->quirks; - /* If slot design supports 8 bit data, indicate this to MMC. */ if (pdata->flags & PXA_FLAG_SD_8_BIT_CAPABLE_SLOT) host->mmc->caps |= MMC_CAP_8_BIT_DATA;