From: Javier Martin Date: Thu, 22 Mar 2012 13:54:14 +0000 (+0100) Subject: dmaengine: i.MX: Add support for interleaved transfers. X-Git-Tag: v3.4-rc1~39^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f606ab897b6d7f35b57c7474424676e30457520b;p=pandora-kernel.git dmaengine: i.MX: Add support for interleaved transfers. i.MX2 and i.MX1 chips have the possibility to do interleaved transfers with two constraints: - Only one chunk can be used (i.e. only 2D transfers are allowed). - Only 2 interleaved configurations can be applied at the same time for all channels. Since this patch adds a new resource 'slots_2d' which is shared by all the DMA channels and to avoid disgustin locking BUGs, the 'lock' member has been moved to the global 'imxdma_engine' structure. Signed-off-by: Javier Martin Acked-by: Sascha Hauer Signed-off-by: Vinod Koul --- Reading git-diff-tree failed