]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/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>
Mon, 17 Mar 2008 16:40:49 +0000 (18:40 +0200)
commit1585af437dca8e1d17c3036298af0fa1777c4c10
treed0fc388792b2b4d550923ef2c709291b8bb27841
parentb61e7170ae92776b692388ffca976676546ff416
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