From: Lorenzo Nava Date: Thu, 2 Jul 2015 16:28:03 +0000 (+0100) Subject: ARM: 8398/1: arm DMA: Fix allocation from CMA for coherent DMA X-Git-Tag: omap-for-v4.3/fixes-rc1~102^2~1^3~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=21caf3a765b0a88f8fedf63b36e5d15683b73fe5;p=pandora-kernel.git ARM: 8398/1: arm DMA: Fix allocation from CMA for coherent DMA This patch allows the use of CMA for DMA coherent memory allocation. At the moment if the input parameter "is_coherent" is set to true the allocation is not made using the CMA, which I think is not the desired behaviour. The patch covers the allocation and free of memory for coherent DMA. Signed-off-by: Lorenzo Nava Reviewed-by: Catalin Marinas Signed-off-by: Russell King --- Reading git-diff-tree failed