From: Fernando Guzman Lugo Date: Thu, 30 Aug 2012 00:24:52 +0000 (-0500) Subject: rpmsg: fix dma_free_coherent dev parameter X-Git-Tag: v3.6-rc7~28^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eeb0074f36d1ab0729d06f1c56add9c7799679e2;p=pandora-kernel.git rpmsg: fix dma_free_coherent dev parameter 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 Signed-off-by: Ohad Ben-Cohen --- Reading git-diff-tree failed