]> 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)
commite5d743667313abc74823b77f735f9dfd651db990
tree91f78b3cd657ac2423a3eb07d1b0518cb230fc63
parent2fdc87b985131a5f209247fb7d268e34af1af9aa
drm/exynos: Fix double locks at PM resume

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