From: Per Forlin Date: Mon, 29 Aug 2011 11:33:35 +0000 (+0200) Subject: dmaengine/ste_dma40: fix memory leak due to prepared descriptors X-Git-Tag: v3.1-rc6~18^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=82babbb361f207a80cffa8ac34c2b6a0b62acc88;p=pandora-kernel.git dmaengine/ste_dma40: fix memory leak due to prepared descriptors Prepared descriptors that are not submitted will not be freed. Add prepared descriptor to a list to be able to release them upon dmaengine_terminate_all(). Signed-off-by: Per Forlin Acked-by: Linus Walleij Signed-off-by: Vinod Koul --- Reading git-diff-tree failed