diff options
author | Marek Szyprowski <m.szyprowski@samsung.com> | 2016-02-03 13:42:54 +0100 |
---|---|---|
committer | Inki Dae <daeinki@gmail.com> | 2016-03-01 23:37:14 +0900 |
commit | f3fb3d82379553f5626c1bb13e3a400434260eed (patch) | |
tree | f2d3dbb40de99a9182d619845f66d3ec8e7c6d86 /drivers/gpu/drm/exynos | |
parent | 6d3f3b675570f70634ebf5358badc59961a2d9aa (diff) | |
download | op-kernel-dev-f3fb3d82379553f5626c1bb13e3a400434260eed.zip op-kernel-dev-f3fb3d82379553f5626c1bb13e3a400434260eed.tar.gz |
drm/exynos: exynos5433_decon: fix wrong state in decon_vblank_enable
BIT_IRQS_ENABLED was never set because of incorrect test in
decon_vlank_enable() function, what resulted in lack of enabling vblank
support. This patch fixes this issue.
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')
-rw-r--r-- | drivers/gpu/drm/exynos/exynos5433_drm_decon.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/exynos/exynos5433_drm_decon.c b/drivers/gpu/drm/exynos/exynos5433_drm_decon.c index c793316..107224a 100644 --- a/drivers/gpu/drm/exynos/exynos5433_drm_decon.c +++ b/drivers/gpu/drm/exynos/exynos5433_drm_decon.c @@ -93,7 +93,7 @@ static int decon_enable_vblank(struct exynos_drm_crtc *crtc) if (test_bit(BIT_SUSPENDED, &ctx->flags)) return -EPERM; - if (test_and_set_bit(BIT_IRQS_ENABLED, &ctx->flags)) { + if (!test_and_set_bit(BIT_IRQS_ENABLED, &ctx->flags)) { val = VIDINTCON0_INTEN; if (ctx->out_type == IFTYPE_I80) val |= VIDINTCON0_FRAMEDONE; |