Thread (10 messages) flat view 10 messages, 2 authors, 2011-04-06
STALE5610d

[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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help