* [PATCH] ARM: OMAP: DMA fix bug in omap_get_dma_dst_pos
@ 2007-09-19 5:52 Gadiyar, Anand
2007-10-01 17:43 ` Tony Lindgren
0 siblings, 1 reply; 2+ messages in thread
From: Gadiyar, Anand @ 2007-09-19 5:52 UTC (permalink / raw)
To: linux-omap-open-source
From: Anand Gadiyar <gadiyar@ti.com>
omap_get_dma_dst_pos() should return the current destination address.
The CDSA register contains the destination start address.
CDAC register should be used instead.
Signed-off-by: Anand Gadiyar <gadiyar@ti.com>
---
linux-omap/arch/arm/plat-omap/dma.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
===================================================================
--- linux-omap.orig/arch/arm/plat-omap/dma.c 2007-09-18
16:17:21.000000000 +0530
+++ linux-omap/arch/arm/plat-omap/dma.c 2007-09-18 16:21:59.000000000
+0530
@@ -776,7 +776,7 @@
(OMAP1_DMA_CDSA_U_REG(lch) <<
16));
if (cpu_is_omap24xx())
- offset = OMAP2_DMA_CDSA_REG(lch);
+ offset = OMAP2_DMA_CDAC_REG(lch);
return offset;
}
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] ARM: OMAP: DMA fix bug in omap_get_dma_dst_pos
2007-09-19 5:52 [PATCH] ARM: OMAP: DMA fix bug in omap_get_dma_dst_pos Gadiyar, Anand
@ 2007-10-01 17:43 ` Tony Lindgren
0 siblings, 0 replies; 2+ messages in thread
From: Tony Lindgren @ 2007-10-01 17:43 UTC (permalink / raw)
To: Gadiyar, Anand; +Cc: linux-omap-open-source
* Gadiyar, Anand <gadiyar@ti.com> [070918 22:53]:
> From: Anand Gadiyar <gadiyar@ti.com>
>
> omap_get_dma_dst_pos() should return the current destination address.
> The CDSA register contains the destination start address.
> CDAC register should be used instead.
>
> Signed-off-by: Anand Gadiyar <gadiyar@ti.com>
> ---
>
> linux-omap/arch/arm/plat-omap/dma.c | 2 +-
> 1 files changed, 1 insertion(+), 1 deletion(-)
> ===================================================================
> --- linux-omap.orig/arch/arm/plat-omap/dma.c 2007-09-18
> 16:17:21.000000000 +0530
> +++ linux-omap/arch/arm/plat-omap/dma.c 2007-09-18 16:21:59.000000000
> +0530
> @@ -776,7 +776,7 @@
> (OMAP1_DMA_CDSA_U_REG(lch) <<
> 16));
>
> if (cpu_is_omap24xx())
> - offset = OMAP2_DMA_CDSA_REG(lch);
> + offset = OMAP2_DMA_CDAC_REG(lch);
>
> return offset;
> }
Thanks, pushing today. Can you please check your mail program settings
to avoid wrapped patches next time?
Regards,
Tony
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-10-01 17:43 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-19 5:52 [PATCH] ARM: OMAP: DMA fix bug in omap_get_dma_dst_pos Gadiyar, Anand
2007-10-01 17:43 ` Tony Lindgren
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox