Re: [PATCH] ARM: OMAP: DMA fix bug in omap_get_dma_dst_pos

Tony Lindgren
2007-10-01T17:43:09Z

* 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