[PATCH 4/6] ARM: mx3/mx31moboard: properly allocate memory for mx3-camera
Philippe Rétornaz
philippe.retornaz at epfl.ch
Mon Mar 7 03:00:45 EST 2011
Le vendredi, 4 mars 2011 21.51:20, Uwe Kleine-König a écrit :
> 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.
>
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig at pengutronix.de>
Thank you very much for this patch !
Regards,
Philippe
More information about the linux-arm-kernel
mailing list