]> err.no Git - linux-2.6/commit
ARM: OMAP: DMA: Fix incorrect channel linking
authorJarkko Nikula <jarkko.nikula@nokia.com>
Mon, 17 Mar 2008 15:01:10 +0000 (17:01 +0200)
committerTony Lindgren <tony@atomide.com>
Fri, 9 May 2008 17:25:03 +0000 (10:25 -0700)
commit0692f05dffaac5fc7b152f9b83625d3077639eba
treeca1e79c2ad79a5be3dfe2dbf660251b9219e85c6
parent7cf95774190e423370945e116b07410c860407db
ARM: OMAP: DMA: Fix incorrect channel linking

Function enable_lnk does incorrect channel link on non-omap1 builds if chain
is created manually with omap_request_dma and omap_dma_link_lch functions.

Fix this by making sure that next_linked_ch field is initialized to -1 just
in omap_request_dma.

Signed-off-by: Jarkko Nikula <jarkko.nikula@nokia.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/plat-omap/dma.c