From: Zhang Wei Date: Wed, 19 Mar 2008 01:45:00 +0000 (-0700) Subject: fsldma: Fix the DMA halt when using DMA_INTERRUPT async_tx transfer. X-Git-Tag: v2.6.25-rc7~100^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f79abb627f033c85a6088231f20c85bc4a9bd757;p=pandora-kernel.git fsldma: Fix the DMA halt when using DMA_INTERRUPT async_tx transfer. The DMA_INTERRUPT async_tx is a NULL transfer, thus the BCR(count register) is 0. When the transfer started with a byte count of zero, the DMA controller will triger a PE(programming error) event and halt, not a normal interrupt. I add special codes for PE event and DMA_INTERRUPT async_tx testing. Signed-off-by: Zhang Wei Signed-off-by: Andrew Morton Signed-off-by: Dan Williams --- Reading git-diff-tree failed