From: Mike Frysinger Date: Mon, 29 Jun 2009 22:45:50 +0000 (+0000) Subject: Blackfin: fix early_dma_memcpy() handling of busy channels X-Git-Tag: v2.6.31-rc4~22^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=532f07ca04c6f8ab0555b00cf5d42dc6f72b802f;p=pandora-kernel.git Blackfin: fix early_dma_memcpy() handling of busy channels 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 --- Reading git-diff-tree failed