Signed-off-by: Tobias Jakobi <tjakobi@xxxxxxxxxxxxxxxxxxxxx> --- exynos/exynos_fimg2d.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exynos/exynos_fimg2d.c b/exynos/exynos_fimg2d.c index 669fd5c..bde5df2 100644 --- a/exynos/exynos_fimg2d.c +++ b/exynos/exynos_fimg2d.c @@ -190,7 +190,7 @@ static int g2d_flush(struct g2d_context *ctx) int ret; struct drm_exynos_g2d_set_cmdlist cmdlist = {0}; - if (ctx->cmd_nr == 0 && ctx->cmd_buf_nr == 0) + if (ctx->cmd_nr == 0 && ctx->cmd_buf_nr == 0) return -1; if (ctx->cmdlist_nr >= G2D_MAX_CMD_LIST_NR) { -- 2.0.5 _______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/dri-devel