aboutsummaryrefslogtreecommitdiffstats
path: root/exynos
diff options
context:
space:
mode:
Diffstat (limited to 'exynos')
-rw-r--r--exynos/exynos_fimg2d.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/exynos/exynos_fimg2d.c b/exynos/exynos_fimg2d.c
index 24a06d0f..4a88e0c0 100644
--- a/exynos/exynos_fimg2d.c
+++ b/exynos/exynos_fimg2d.c
@@ -191,7 +191,7 @@ static int g2d_flush(struct g2d_context *ctx)
191 struct drm_exynos_g2d_set_cmdlist cmdlist = {0}; 191 struct drm_exynos_g2d_set_cmdlist cmdlist = {0};
192 192
193 if (ctx->cmd_nr == 0 && ctx->cmd_buf_nr == 0) 193 if (ctx->cmd_nr == 0 && ctx->cmd_buf_nr == 0)
194 return -1; 194 return 0;
195 195
196 if (ctx->cmdlist_nr >= G2D_MAX_CMD_LIST_NR) { 196 if (ctx->cmdlist_nr >= G2D_MAX_CMD_LIST_NR) {
197 fprintf(stderr, "Overflow cmdlist.\n"); 197 fprintf(stderr, "Overflow cmdlist.\n");