From: Uwe Kleine-König Date: Thu, 3 Mar 2011 10:39:42 +0000 (+0100) Subject: ARM: mx3/pcm037: properly allocate memory for mx3-camera X-Git-Tag: v3.0-rc1~328^2^2~2^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dca7c0b4293a06d1ed9387e729a4882896abccc2;p=pandora-kernel.git ARM: mx3/pcm037: properly allocate memory for mx3-camera There is no need to memzero the buffer because dma_alloc_coherent zeros the memory for us. This fixes: BUG: Your driver calls ioremap() on system memory. This leads <4>to architecturally unpredictable behaviour on ARMv6+, and ioremap() <4>will fail in the next kernel release. Please fix your driver. Tested-by: Michael Grzeschik LAKML-Reference: 1299271882-2130-3-git-send-email-u.kleine-koenig@pengutronix.de Signed-off-by: Uwe Kleine-König Signed-off-by: Sascha Hauer --- Reading git-diff-tree failed