summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mxs
diff options
context:
space:
mode:
authorUwe Kleine-König2011-03-03 14:21:53 +0100
committerSascha Hauer2011-05-19 13:11:19 +0200
commit031e912741746e4350204bb0436590ca0e993a7d (patch)
tree96cc0f4baa356dda8a7b7d23deb0447a2d7e051f /arch/arm/mach-mxs
parentARM: mx3/pcm037: properly allocate memory for mx3-camera (diff)
downloadkernel-qcow2-linux-031e912741746e4350204bb0436590ca0e993a7d.tar.gz
kernel-qcow2-linux-031e912741746e4350204bb0436590ca0e993a7d.tar.xz
kernel-qcow2-linux-031e912741746e4350204bb0436590ca0e993a7d.zip
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/arm/mach-mxs')
0 files changed, 0 insertions, 0 deletions