[PATCH] rpmsg: use right device paramter when calling dma_free_coherent function
Ohad Ben-Cohen
ohad at wizery.com
Wed Sep 12 05:06:03 EDT 2012
Hi Fernando,
On Thu, Aug 30, 2012 at 3:24 AM, Fernando Guzman Lugo
<fernando.lugo at ti.com> 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 <fernando.lugo at ti.com>
Thanks, applied to rpmsg-fixes.
Ohad.
More information about the linux-arm-kernel
mailing list