Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f59a89d0 authored by Gustavo Padovan's avatar Gustavo Padovan Committed by Inki Dae
Browse files

drm/exynos: remove duplicated check for suspend



The same check is placed twice in fimd/decon_update_plane(), remove
one of them.

Signed-off-by: default avatarGustavo Padovan <gustavo.padovan@collabora.co.uk>
Reviewed-by: default avatarJoonyoung Shim <jy0922.shim@samsung.com>
Signed-off-by: default avatarInki Dae <inki.dae@samsung.com>
parent eafd540a
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -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.
	 *
+0 −3
Original line number Diff line number Diff line
@@ -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.
	 *