diff options
author | Marek Szyprowski <m.szyprowski@samsung.com> | 2016-02-03 15:42:53 +0300 |
---|---|---|
committer | Inki Dae <daeinki@gmail.com> | 2016-03-01 17:37:14 +0300 |
commit | 6d3f3b675570f70634ebf5358badc59961a2d9aa (patch) | |
tree | 4e5a416c65a1321758e8991bdaf7e8028e8447b5 /drivers/gpu/drm/exynos/exynos5433_drm_decon.c | |
parent | 6fe9dbf767091bc02b6062f894232d4c4d0134f4 (diff) | |
download | linux-6d3f3b675570f70634ebf5358badc59961a2d9aa.tar.xz |
drm/exynos: exynos5433_decon: fix wrong state assignment in decon_enable
Patch ebf3fd403b79ba6561bd1a4bb5a7cacc99da08e5 ("drm/exynos: add
pm_runtime to DECON 5433") removed some code from decon_enable()
function, but it left set_bit(BIT_SUSPENDED, &ctx->flags) call, which
was earlier called only in error path. This patch removes it, what
finally lets driver to go out of suspended state.
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Diffstat (limited to 'drivers/gpu/drm/exynos/exynos5433_drm_decon.c')
-rw-r--r-- | drivers/gpu/drm/exynos/exynos5433_drm_decon.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/exynos/exynos5433_drm_decon.c b/drivers/gpu/drm/exynos/exynos5433_drm_decon.c index 1bf6a21130c7..c79331699140 100644 --- a/drivers/gpu/drm/exynos/exynos5433_drm_decon.c +++ b/drivers/gpu/drm/exynos/exynos5433_drm_decon.c @@ -402,8 +402,6 @@ static void decon_enable(struct exynos_drm_crtc *crtc) decon_enable_vblank(ctx->crtc); decon_commit(ctx->crtc); - - set_bit(BIT_SUSPENDED, &ctx->flags); } static void decon_disable(struct exynos_drm_crtc *crtc) |