From: Russell King - ARM Linux Date: Tue, 6 Mar 2012 22:34:46 +0000 (+0000) Subject: dmaengine: consolidate assignment of DMA cookies X-Git-Tag: v3.4-rc1~39^2~20^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=884485e1f12dcd39390f042e772cdbefc9ebb750;p=pandora-kernel.git dmaengine: consolidate assignment of DMA cookies Everyone deals with assigning DMA cookies in the same way (it's part of the API so they should be), so lets consolidate the common code into a helper function to avoid this duplication. 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