]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0e5db25873966a363a8d46fd70e431cd7f1203a8
tree91f78b3cd657ac2423a3eb07d1b0518cb230fc63
parent294fff198c9554e645232907f6f50995e5f3eecd
drm/exynos: Fix double locks at PM resume

The recent commit [ea058563: 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