From patchwork Mon Jul 11 21:47: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: 966412 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter2.kernel.org (8.14.4/8.14.4) with ESMTP id p6BLlsuO014815 for ; Mon, 11 Jul 2011 21:47:54 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754200Ab1GKVrw (ORCPT ); Mon, 11 Jul 2011 17:47:52 -0400 Received: from na3sys009aog117.obsmtp.com ([74.125.149.242]:39303 "EHLO na3sys009aog117.obsmtp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753875Ab1GKVrv convert rfc822-to-8bit (ORCPT ); Mon, 11 Jul 2011 17:47:51 -0400 Received: from sc-owa02.marvell.com ([65.219.4.130]) (using TLSv1) by na3sys009aob117.postini.com ([74.125.148.12]) with SMTP ID DSNKThtvhiuctqN4Y69DY/N+kRJ6wimBkdlz@postini.com; Mon, 11 Jul 2011 14:47:51 PDT Received: from SC-vEXCH3.marvell.com ([10.93.76.133]) by sc-owa02.marvell.com ([10.93.76.22]) with mapi; Mon, 11 Jul 2011 14:47:50 -0700 From: Philip Rakity To: "linux-mmc@vger.kernel.org" CC: Zhangfei Gao Date: Mon, 11 Jul 2011 14:47:54 -0700 Subject: [PATCH] sdhci: pxav3 controller needs 32 bit ADMA addressing Thread-Topic: [PATCH] sdhci: pxav3 controller needs 32 bit ADMA addressing Thread-Index: AcxAFC2lKl/kcuNaR1++/KX6FCG69Q== Message-ID: <44DD7577-7CB6-42D0-9427-A8731C248612@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 (demeter2.kernel.org [140.211.167.43]); Mon, 11 Jul 2011 21:47:54 +0000 (UTC) enable the quirk. Best used in conjunction with patch downgrading ADMA to SDMA when transfer is not aligned. Signed-off-by: Philip Rakity Acked-by: Zhangfei Gao --- drivers/mmc/host/sdhci-pxav3.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/drivers/mmc/host/sdhci-pxav3.c b/drivers/mmc/host/sdhci-pxav3.c index 4198dbb..fc7e4a5 100644 --- a/drivers/mmc/host/sdhci-pxav3.c +++ b/drivers/mmc/host/sdhci-pxav3.c @@ -195,7 +195,8 @@ static int __devinit sdhci_pxav3_probe(struct platform_device *pdev) clk_enable(clk); host->quirks = SDHCI_QUIRK_BROKEN_TIMEOUT_VAL - | SDHCI_QUIRK_NO_ENDATTR_IN_NOPDESC; + | SDHCI_QUIRK_NO_ENDATTR_IN_NOPDESC + | SDHCI_QUIRK_32BIT_ADMA_SIZE; /* enable 1/8V DDR capable */ host->mmc->caps |= MMC_CAP_1_8V_DDR;