Re: [PATCH] video: pxafb: Fix the function used to balance a 'dma_alloc_coherent()' call

2020-06-01 Thread Bartlomiej Zolnierkiewicz
On 4/29/20 10:45 AM, Christophe JAILLET wrote: > 'dma_alloc_coherent()' must be balanced by a call to 'dma_free_coherent()' > not 'dma_free_wc()'. > The correct dma_free_ function is already used in the error handling path > of the probe function. > > Fixes: 77e196752bdd ("[ARM] pxafb: allow

[PATCH] video: pxafb: Fix the function used to balance a 'dma_alloc_coherent()' call

2020-04-29 Thread Christophe JAILLET
'dma_alloc_coherent()' must be balanced by a call to 'dma_free_coherent()' not 'dma_free_wc()'. The correct dma_free_ function is already used in the error handling path of the probe function. Fixes: 77e196752bdd ("[ARM] pxafb: allow video memory size to be configurable") Signed-off-by: