summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChanho Park <chanho61.park@samsung.com>2015-02-02 10:20:16 +0900
committerChanho Park <chanho61.park@samsung.com>2015-02-02 10:42:10 +0900
commit52ff63542f19f0d49aca44d039c2bd57ce15b0fa (patch)
tree6d6eec82d65da3ca2262b6f39cde1ff81d02daec
parent9364aa8ab217382b54e33543a8afcc57323b5737 (diff)
downloadlinux-3.10-52ff63542f19f0d49aca44d039c2bd57ce15b0fa.tar.gz
linux-3.10-52ff63542f19f0d49aca44d039c2bd57ce15b0fa.tar.bz2
linux-3.10-52ff63542f19f0d49aca44d039c2bd57ce15b0fa.zip
This patch fixes a return value of g2d_map_cmdlist_gem. Since applied dmabuf_sync, the return value was changed to ret when success return. This is wrong value when everything is successful. Change-Id: I0ddb735b8f894ec065ee90865d0a8b45bf892b8e Reported-by: Voloshynov Sergii <s.voloshynov@samsung.com> Signed-off-by: Voloshynov Sergii <s.voloshynov@samsung.com> Signed-off-by: Chanho Park <chanho61.park@samsung.com>
-rw-r--r--drivers/gpu/drm/exynos/exynos_drm_g2d.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/exynos/exynos_drm_g2d.c b/drivers/gpu/drm/exynos/exynos_drm_g2d.c
index 0232a724ab2..738ea1f0bc4 100644
--- a/drivers/gpu/drm/exynos/exynos_drm_g2d.c
+++ b/drivers/gpu/drm/exynos/exynos_drm_g2d.c
@@ -809,7 +809,7 @@ out_dmabuf_sync:
dmabuf_sync_fini(node->sync);
}
- return ret;
+ return 0;
err:
if (node->sync) {