From: Uwe Kleine-König Date: Thu, 3 Mar 2011 13:21:53 +0000 (+0100) Subject: ARM: mx3/mx31moboard: properly allocate memory for mx3-camera X-Git-Tag: v3.0-rc1~328^2^2~2^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=031e912741746e4350204bb0436590ca0e993a7d;p=pandora-kernel.git ARM: mx3/mx31moboard: properly allocate memory for mx3-camera It's not allowed to create an alias of system RAM for DMA. So the memory used must not be allocated using dma_alloc_coherent but has to be reserved before using memblock routines. There is no need to memzero the buffer because dma_alloc_coherent zeros the memory for us. LAKML-Reference: 1299271882-2130-4-git-send-email-u.kleine-koenig@pengutronix.de Tested-by: Philippe Retornaz Acked-by: Philippe Retornaz Signed-off-by: Uwe Kleine-König Signed-off-by: Sascha Hauer --- Reading git-diff-tree failed