summaryrefslogtreecommitdiffstats
path: root/drivers/char/toshiba.c
diff options
context:
space:
mode:
authorFernando Guzman Lugo <fernando.lugo@ti.com>2012-08-29 19:24:52 -0500
committerOhad Ben-Cohen <ohad@wizery.com>2012-09-12 12:03:57 +0300
commiteeb0074f36d1ab0729d06f1c56add9c7799679e2 (patch)
treeae72e84c577b99d3d2c485a1eed93f55f53cf8f0 /drivers/char/toshiba.c
parent55d512e245bc7699a8800e23df1a24195dd08217 (diff)
downloadop-kernel-dev-eeb0074f36d1ab0729d06f1c56add9c7799679e2.zip
op-kernel-dev-eeb0074f36d1ab0729d06f1c56add9c7799679e2.tar.gz
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 <fernando.lugo@ti.com> Signed-off-by: Ohad Ben-Cohen <ohad@wizery.com>
Diffstat (limited to 'drivers/char/toshiba.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud