diff options
author | Chanho Park <chanho61.park@samsung.com> | 2015-02-02 10:20:16 +0900 |
---|---|---|
committer | Chanho Park <chanho61.park@samsung.com> | 2015-02-02 10:42:10 +0900 |
commit | 52ff63542f19f0d49aca44d039c2bd57ce15b0fa (patch) | |
tree | 6d6eec82d65da3ca2262b6f39cde1ff81d02daec | |
parent | 9364aa8ab217382b54e33543a8afcc57323b5737 (diff) | |
download | linux-3.10-52ff63542f19f0d49aca44d039c2bd57ce15b0fa.tar.gz linux-3.10-52ff63542f19f0d49aca44d039c2bd57ce15b0fa.tar.bz2 linux-3.10-52ff63542f19f0d49aca44d039c2bd57ce15b0fa.zip |
exynos/drm: g2d: return 0 instead of ret in g2d_map_cmdlist_gemsubmit/tizen/20150202.023401accepted/tizen/wearable/20150202.095817accepted/tizen/tv/20150202.095715accepted/tizen/mobile/20150202.100101accepted/tizen/common/20150202.085553
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.c | 2 |
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) { |