From patchwork Mon Feb 14 07:01:24 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philip Rakity X-Patchwork-Id: 554141 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 p1E77n8B013317 for ; Mon, 14 Feb 2011 07:07:49 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751716Ab1BNHHs (ORCPT ); Mon, 14 Feb 2011 02:07:48 -0500 Received: from na3sys009aog113.obsmtp.com ([74.125.149.209]:60846 "EHLO na3sys009aog113.obsmtp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751663Ab1BNHHs convert rfc822-to-8bit (ORCPT ); Mon, 14 Feb 2011 02:07:48 -0500 Received: from source ([65.219.4.129]) (using TLSv1) by na3sys009aob113.postini.com ([74.125.148.12]) with SMTP ID DSNKTVjUw9VXSD20dVteGdTDnunrWkKk+4Tw@postini.com; Sun, 13 Feb 2011 23:07:48 PST Received: from SC-vEXCH3.marvell.com ([10.93.76.133]) by SC-OWA01.marvell.com ([10.93.76.21]) with mapi; Sun, 13 Feb 2011 23:00:25 -0800 From: Philip Rakity To: "linux-mmc@vger.kernel.org" CC: Mark Brown Date: Sun, 13 Feb 2011 23:01:24 -0800 Subject: [PATCH 5/5] sdhci: sdhci-pxa.c: Add QUIRKS for DMA/ADMA to match h/w Thread-Topic: [PATCH 5/5] sdhci: sdhci-pxa.c: Add QUIRKS for DMA/ADMA to match h/w Thread-Index: AcvMFP51eqPycmn4RdGFaDJpkbk/sg== Message-ID: <45293FA4-D66D-4817-AA18-6BD50264F87A@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]); Mon, 14 Feb 2011 07:07:56 +0000 (UTC) Tested-by: Chris Ball (on MMP2/XO-1.75) diff --git a/drivers/mmc/host/sdhci-pxa.c b/drivers/mmc/host/sdhci-pxa.c index c8abf0f..215517f 100644 --- a/drivers/mmc/host/sdhci-pxa.c +++ b/drivers/mmc/host/sdhci-pxa.c @@ -120,6 +120,9 @@ static int __devinit sdhci_pxa_probe(struct platform_device *pdev) host->ops = &sdhci_pxa_ops; host->irq = irq; host->quirks = SDHCI_QUIRK_BROKEN_ADMA | SDHCI_QUIRK_BROKEN_TIMEOUT_VAL; + host->quirks |= SDHCI_QUIRK_32BIT_DMA_ADDR | SDHCI_QUIRK_32BIT_DMA_SIZE + | SDHCI_QUIRK_32BIT_ADMA_SIZE + | SDHCI_QUIRK_NO_ENDATTR_IN_NOPDESC; if (pdata->quirks) host->quirks |= pdata->quirks;