From e45f55759e7b7058a41a9e9210c20025239eddc3 Mon Sep 17 00:00:00 2001 From: Andrzej Hajda Date: Fri, 9 Dec 2016 10:52:15 +0100 Subject: drm/exynos/decon5433: do not stop DECON before reset DECON fails to stop in reasonable time in case of interlaced mode. But since device is reset anyway this step can be safely omitted. Change-Id: I15a78685c9573b9799ac63b7810ff3655763e461 Signed-off-by: Andrzej Hajda --- drivers/gpu/drm/exynos/exynos5433_drm_decon.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos5433_drm_decon.c b/drivers/gpu/drm/exynos/exynos5433_drm_decon.c index c8593bbd0e3a..6842c1c970b6 100644 --- a/drivers/gpu/drm/exynos/exynos5433_drm_decon.c +++ b/drivers/gpu/drm/exynos/exynos5433_drm_decon.c @@ -555,15 +555,6 @@ static void decon_swreset(struct decon_context *ctx) { unsigned int tries; - writel(0, ctx->addr + DECON_VIDCON0); - for (tries = 2000; tries; --tries) { - if (~readl(ctx->addr + DECON_VIDCON0) & VIDCON0_STOP_STATUS) - break; - udelay(10); - } - - WARN(tries == 0, "failed to disable DECON\n"); - writel(VIDCON0_SWRESET, ctx->addr + DECON_VIDCON0); for (tries = 2000; tries; --tries) { if (~readl(ctx->addr + DECON_VIDCON0) & VIDCON0_SWRESET) -- cgit v1.2.3