drm/exynos: Fix double locks at PM resume
authorTakashi Iwai <tiwai@suse.de>
Fri, 9 May 2014 06:14:15 +0000 (08:14 +0200)
committerInki Dae <daeinki@gmail.com>
Sun, 1 Jun 2014 17:07:06 +0000 (02:07 +0900)
commita16f223e35325d1a9b9b3fce63d655e7b2c2a02a
tree91f78b3cd657ac2423a3eb07d1b0518cb230fc63
parent073ea2ae85629d4074596e2616588b13d4c665f7
drm/exynos: Fix double locks at PM resume

The recent commit [3ea87855: drm/helper: lock all around force mode
restore] introduced drm_modeset_lock_all() in
drm_helper_resume_force_mode() itself, while exynos driver takes this
lock before calling it.  Move the function call outside the lock for
avoiding a deadlock.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos_drm_drv.c