From: Russell King - ARM Linux Date: Tue, 6 Mar 2012 22:34:06 +0000 (+0000) Subject: dmaengine: move last completed cookie into generic dma_chan structure X-Git-Tag: v3.4-rc1~39^2~20^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4d4e58de32a192fea65ab84509d17d199bd291c8;p=pandora-kernel.git dmaengine: move last completed cookie into generic dma_chan structure Every DMA engine implementation declares a last completed dma cookie in their private dma channel structures. This is pointless, and forces driver specific code. Move this out into the common dma_chan structure. Signed-off-by: Russell King Tested-by: Linus Walleij Reviewed-by: Linus Walleij Acked-by: Jassi Brar [imx-sdma.c & mxs-dma.c] Tested-by: Shawn Guo Signed-off-by: Vinod Koul --- Reading git-diff-tree failed