]> git.sur5r.net Git - u-boot/commit
Blackfin: dma_memcpy(): fix random failures
authorMike Frysinger <vapier@gentoo.org>
Wed, 5 Nov 2008 12:20:37 +0000 (07:20 -0500)
committerMike Frysinger <vapier@gentoo.org>
Mon, 2 Feb 2009 17:24:46 +0000 (12:24 -0500)
commite347c092a3b3a2ce1e72f25f4829163634d09fbe
tree31860ae31f070abf8e75900e64bfa55de3bb32bb
parentfdce83c108846d6f0d5b1774e1cc29f2573a6ad3
Blackfin: dma_memcpy(): fix random failures

We have to make sure the DMA channel is actually disabled in hardware before
attempting to reprogram it.  Otherwise the new settings are ignored and we
end up with random hangs/failures.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
lib_blackfin/string.c