summaryrefslogtreecommitdiffstats
path: root/arch/unicore32
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2011-03-03 14:21:53 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2011-05-19 13:11:19 +0200
commit031e912741746e4350204bb0436590ca0e993a7d (patch)
tree96cc0f4baa356dda8a7b7d23deb0447a2d7e051f /arch/unicore32
parentdca7c0b4293a06d1ed9387e729a4882896abccc2 (diff)
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 <philippe.retornaz@epfl.ch> Acked-by: Philippe Retornaz <philippe.retornaz@epfl.ch> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/unicore32')
0 files changed, 0 insertions, 0 deletions