[PATCH 4/6] ARM: mx3/mx31moboard: properly allocate memory for mx3-camera
From: Philippe Rétornaz <hidden> Date: 2011-03-07 08:00:45
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 <redacted>
Thank you very much for this patch !
Regards,
Philippe