]> git.baikalelectronics.ru Git - kernel.git/commit
drm/exynos: fimd: modify condition in fimd resume
authorPrathyush K <prathyush.k@samsung.com>
Thu, 27 Dec 2012 11:40:13 +0000 (06:40 -0500)
committerInki Dae <inki.dae@samsung.com>
Mon, 7 Jan 2013 04:49:02 +0000 (13:49 +0900)
commit7f8c57eae8ef1a810e409ae30d464bc783a9e9c9
treeff46b991f78ed477c7d43c6c0017f12eb823482d
parent0a189a26e6bf985b3701ea12a0c16866e0c1fb3b
drm/exynos: fimd: modify condition in fimd resume

If fimd is runtime suspended (by DPMS OFF), fimd_suspend does not
call fimd_activate(false) and just returns. Similarily the check in
fimd_resume should not resume if previously runtime_suspended.
Instead the existing check does the opposite. So if fimd was not
runtime suspended, suspend will turn off fimd but resume will not turn
it on.  This patch fixes this issue by reversing the condition.

Signed-off-by: Prathyush K <prathyush.k@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos_drm_fimd.c