linux-mmc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 5/5] sdhci: sdhci-pxa.c: Add QUIRKS for DMA/ADMA to match h/w
@ 2011-02-14  7:01 Philip Rakity
  2011-05-19 19:05 ` Chris Ball
  0 siblings, 1 reply; 2+ messages in thread
From: Philip Rakity @ 2011-02-14  7:01 UTC (permalink / raw)
  To: linux-mmc@vger.kernel.org; +Cc: Mark Brown


32 Bit DMA/ADMA Access
32 Bit Size
Support ADMA End Descriptor in current chain
	(no need for dummy entry)

Signed-off-by: Philip Rakity <prakity@marvell.com>
---
 drivers/mmc/host/sdhci-pxa.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

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;
-- 
1.7.0.4



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH 5/5] sdhci: sdhci-pxa.c: Add QUIRKS for DMA/ADMA to match h/w
  2011-02-14  7:01 [PATCH 5/5] sdhci: sdhci-pxa.c: Add QUIRKS for DMA/ADMA to match h/w Philip Rakity
@ 2011-05-19 19:05 ` Chris Ball
  0 siblings, 0 replies; 2+ messages in thread
From: Chris Ball @ 2011-05-19 19:05 UTC (permalink / raw)
  To: Philip Rakity; +Cc: linux-mmc@vger.kernel.org

Hi,

On Mon, Feb 14 2011, Philip Rakity wrote:
> 32 Bit DMA/ADMA Access
> 32 Bit Size
> Support ADMA End Descriptor in current chain
> 	(no need for dummy entry)
>
> Signed-off-by: Philip Rakity <prakity@marvell.com>
> ---
>  drivers/mmc/host/sdhci-pxa.c |    3 +++
>  1 files changed, 3 insertions(+), 0 deletions(-)
>
> 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;

Tested-by: Chris Ball <cjb@laptop.org> (on MMP2/XO-1.75)

.. and pushed to mmc-next for .40, thanks.

- Chris.
-- 
Chris Ball   <cjb@laptop.org>   <http://printf.net/>
One Laptop Per Child

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-05-19 19:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-14  7:01 [PATCH 5/5] sdhci: sdhci-pxa.c: Add QUIRKS for DMA/ADMA to match h/w Philip Rakity
2011-05-19 19:05 ` Chris Ball

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).