[PATCH] Staging: goldfish: Add DMA support using dma_alloc_coherent

Alan Cox alan at linux.intel.com
Tue Jan 19 22:35:08 UTC 2016

> Yes I will free it using dma_free_coherent. Why should devm_kzalloc
> be 
> replaced with dma_alloc_coherent ? I was trying to replace _pa()

Why keep allocating and freeing a buffer rather than having a single
buffer allocated once (as it is in the old driver).


More information about the devel mailing list