Blackfin: fix early_dma_memcpy() handling of busy channels
authorMike Frysinger <vapier@gentoo.org>
Mon, 29 Jun 2009 22:45:50 +0000 (22:45 +0000)
committerMike Frysinger <vapier@gentoo.org>
Thu, 16 Jul 2009 05:52:26 +0000 (01:52 -0400)
The early logic to locate a free DMA channel and then set it up was broken
in a few ways that only manifested itself when we needed to set up more
than 2 on chip SRAM regions (most board defaults setup 1 or 2).  First, we
checked the wrong status register (the destination gets updated, not the
source) and second, we did the ssync before rather than after resetting a
DMA config register.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>

No differences found