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

Philippe Rétornaz philippe.retornaz at epfl.ch
Wed Apr 6 05:40:24 EDT 2011


Le lundi, 4 avril 2011 17.05:49, Uwe Kleine-König a écrit :
> 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?
> 

Yes, I tested and it works fine. Thanks  !

Acked-by: Philippe Retornaz <philippe.retornaz at epfl.ch>

Regards,

Philippe



More information about the linux-arm-kernel mailing list