Thread (2 messages) flat view 2 messages, 2 authors, 2012-09-12

[PATCH] rpmsg: use right device paramter when calling dma_free_coherent function

From: Ohad Ben-Cohen <hidden>
Date: 2012-09-12 09:06:27
Also in: linux-omap, lkml

Hi Fernando,

On Thu, Aug 30, 2012 at 3:24 AM, Fernando Guzman Lugo
[off-list ref] wrote:
dma_alloc/free_coherent APIs requires the platform specific remoteproc
device as the device parameter. We are passing vdev->dev.parent to the
dma_free_coherent function which is the generic rproc device and it is
wrong, it has to be vdev->dev.parent->parent instead, same as when we
call dma_alloc_coherent function.

Signed-off-by: Fernando Guzman Lugo <redacted>
Thanks, applied to rpmsg-fixes.

Ohad.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help