drm/exynos: remove duplicated check for suspend
authorGustavo Padovan <gustavo.padovan@collabora.co.uk>
Thu, 16 Jul 2015 15:23:33 +0000 (12:23 -0300)
committerInki Dae <inki.dae@samsung.com>
Sun, 16 Aug 2015 01:23:34 +0000 (10:23 +0900)
The same check is placed twice in fimd/decon_update_plane(), remove
one of them.

Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Reviewed-by: Joonyoung Shim <jy0922.shim@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos7_drm_decon.c
drivers/gpu/drm/exynos/exynos_drm_fimd.c

index 1cd78b6..fe31e41 100644 (file)
@@ -401,9 +401,6 @@ static void decon_win_commit(struct exynos_drm_crtc *crtc, unsigned int win)
 
        plane = &ctx->planes[win];
 
-       if (ctx->suspended)
-               return;
-
        /*
         * SHADOWCON/PRTCON register is used for enabling timing.
         *
index b79f472..7851012 100644 (file)
@@ -623,9 +623,6 @@ static void fimd_win_commit(struct exynos_drm_crtc *crtc, unsigned int win)
 
        plane = &ctx->planes[win];
 
-       if (ctx->suspended)
-               return;
-
        /*
         * SHADOWCON/PRTCON register is used for enabling timing.
         *