drm/exynos: Fix double locks at PM resume
authorTakashi Iwai <tiwai@suse.de>
Fri, 9 May 2014 06:14:15 +0000 (08:14 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 2 Jun 2014 07:57:29 +0000 (09:57 +0200)
commite4f0fd8ca3250c7546148a89eec26ff3b8140103
treeb60f429b576531d8f4117d67af60891fc0ebf10d
parentd3dbd9b21eb2b85c45522af676dc63c7de887caf
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: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/exynos/exynos_drm_drv.c