[PATCH 4/6] ARM: mx3/mx31moboard: properly allocate memory for mx3-camera

Uwe Kleine-König u.kleine-koenig at pengutronix.de
Mon Apr 4 11:05:49 EDT 2011


On Mon, Mar 07, 2011 at 09:00:45AM +0100, Philippe Rétornaz wrote:
> 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 ! 
Is this an Ack?

Best regards
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |



More information about the linux-arm-kernel mailing list