From patchwork Wed Dec 22 07:07:56 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philip Rakity X-Patchwork-Id: 426131 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 oBM7BtZZ021642 for ; Wed, 22 Dec 2010 07:12:38 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752230Ab0LVHMi (ORCPT ); Wed, 22 Dec 2010 02:12:38 -0500 Received: from na3sys009aog107.obsmtp.com ([74.125.149.197]:53334 "HELO na3sys009aog107.obsmtp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1751962Ab0LVHMi (ORCPT ); Wed, 22 Dec 2010 02:12:38 -0500 Received: from source ([65.219.4.130]) (using TLSv1) by na3sys009aob107.postini.com ([74.125.148.12]) with SMTP ID DSNKTRGk5UXbFIrTwBvh6hpvIlldlxOJkSrN@postini.com; Tue, 21 Dec 2010 23:12:38 PST Received: from SC-vEXCH3.marvell.com ([10.93.76.133]) by sc-owa02.marvell.com ([10.93.76.22]) with mapi; Tue, 21 Dec 2010 23:07:58 -0800 From: Philip Rakity To: "linux-mmc@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" CC: Mark Brown Date: Tue, 21 Dec 2010 23:07:56 -0800 Subject: [PATCH 4/23] Alternative mmc structure to support pxa168, pxa910, mmp2 family SD Thread-Topic: [PATCH 4/23] Alternative mmc structure to support pxa168, pxa910, mmp2 family SD Thread-Index: AcuhpvXdDwrd/XiCQFGT6xY6Tzl3Hg== Message-ID: <31543444-2B86-44CC-AC89-44755BFE2E79@marvell.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: yes 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.3 (demeter1.kernel.org [140.211.167.41]); Wed, 22 Dec 2010 07:12:39 +0000 (UTC) diff --git a/arch/arm/plat-pxa/include/plat/sdhci.h b/arch/arm/plat-pxa/include/plat/sdhci.h index 270fb2b..224e28c 100644 --- a/arch/arm/plat-pxa/include/plat/sdhci.h +++ b/arch/arm/plat-pxa/include/plat/sdhci.h @@ -22,12 +22,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; }; diff --git a/drivers/mmc/host/sdhci-pxa.c b/drivers/mmc/host/sdhci-pxa.c index 4713238..13395d2 100644 --- a/drivers/mmc/host/sdhci-pxa.c +++ b/drivers/mmc/host/sdhci-pxa.c @@ -129,9 +129,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;