git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
efe932c
)
ARM: OMAP: DMA fix bug in omap_get_dma_dst_pos
author
Anand Gadiyar
<gadiyar@ti.com>
Mon, 1 Oct 2007 17:41:36 +0000
(10:41 -0700)
committer
Tony Lindgren
<tony@atomide.com>
Mon, 1 Oct 2007 18:01:14 +0000
(11:01 -0700)
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>
Fixed to use OMAP_DMA_CDAC_REG.
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/plat-omap/dma.c
patch
|
blob
|
history
diff --git
a/arch/arm/plat-omap/dma.c
b/arch/arm/plat-omap/dma.c
index
3e026b2
..
7eea858
100644
(file)
--- a/
arch/arm/plat-omap/dma.c
+++ b/
arch/arm/plat-omap/dma.c
@@
-776,7
+776,7
@@
dma_addr_t omap_get_dma_dst_pos(int lch)
(OMAP1_DMA_CDSA_U_REG(lch) << 16));
if (cpu_is_omap24xx())
- offset = OMAP
2_DMA_CDSA
_REG(lch);
+ offset = OMAP
_DMA_CDAC
_REG(lch);
return offset;
}