aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/rpmsg
diff options
context:
space:
mode:
authorSubramaniam C.A <subramaniam.ca@ti.com>2012-01-27 17:56:50 -0600
committerDan Murphy <dmurphy@ti.com>2012-02-01 08:53:25 -0600
commitb478def9de6c342b5082cd26e58c81434f882c87 (patch)
treea8e2f939faeb894df52b77c2215d43eabb6c6046 /drivers/rpmsg
parent10cb4064befb16df15868dfccbcc133aa45f84d9 (diff)
downloadkernel_samsung_espresso10-b478def9de6c342b5082cd26e58c81434f882c87.zip
kernel_samsung_espresso10-b478def9de6c342b5082cd26e58c81434f882c87.tar.gz
kernel_samsung_espresso10-b478def9de6c342b5082cd26e58c81434f882c87.tar.bz2
rpmsg-omx: tiler_virt2phys called for 1D buffers
While migrating to the new PVR APIs, the changes caused a the tiler_virt2phys to be bypassed in case it is not a PVR buffer. This patches fixes the issue Change-Id: I9a3353053d58a7bc0ef89012de46534fad5f4b88 Signed-off-by: Subramaniam C.A <subramaniam.ca@ti.com> Signed-off-by: Tate Hornbeck <tate.hornbeck@ti.com>
Diffstat (limited to 'drivers/rpmsg')
-rw-r--r--drivers/rpmsg/rpmsg_omx.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/rpmsg/rpmsg_omx.c b/drivers/rpmsg/rpmsg_omx.c
index 6c2974c..6cfbdee 100644
--- a/drivers/rpmsg/rpmsg_omx.c
+++ b/drivers/rpmsg/rpmsg_omx.c
@@ -175,9 +175,9 @@ static int _rpmsg_omx_buffer_lookup(struct rpmsg_omx_instance *omx,
ret = _rpmsg_pa_to_da(
(phys_addr_t)paddr2, va2);
goto exit;
- }
- } else
- goto exit;
+ } else
+ goto exit;
+ }
}
#endif