On Tue, 19 Jan 2016, Alan Cox wrote:
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).
Could you please explain how the buffer is being allocated and freed
each time ?
_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel