aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/armada/armada_fbdev.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/armada/armada_fbdev.c')
-rw-r--r--drivers/gpu/drm/armada/armada_fbdev.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/gpu/drm/armada/armada_fbdev.c b/drivers/gpu/drm/armada/armada_fbdev.c
index 948cb14c561e..fd166f532ab9 100644
--- a/drivers/gpu/drm/armada/armada_fbdev.c
+++ b/drivers/gpu/drm/armada/armada_fbdev.c
@@ -181,10 +181,8 @@ void armada_fbdev_lastclose(struct drm_device *dev)
181{ 181{
182 struct armada_private *priv = dev->dev_private; 182 struct armada_private *priv = dev->dev_private;
183 183
184 drm_modeset_lock_all(dev);
185 if (priv->fbdev) 184 if (priv->fbdev)
186 drm_fb_helper_restore_fbdev_mode(priv->fbdev); 185 drm_fb_helper_restore_fbdev_mode_unlocked(priv->fbdev);
187 drm_modeset_unlock_all(dev);
188} 186}
189 187
190void armada_fbdev_fini(struct drm_device *dev) 188void armada_fbdev_fini(struct drm_device *dev)