aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gpu/drm/drm_fb_helper.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/gpu/drm/drm_fb_helper.c b/drivers/gpu/drm/drm_fb_helper.c
index 31fcf94bf825..c5c79986f9c5 100644
--- a/drivers/gpu/drm/drm_fb_helper.c
+++ b/drivers/gpu/drm/drm_fb_helper.c
@@ -3185,9 +3185,7 @@ static void drm_fbdev_client_unregister(struct drm_client_dev *client)
3185 3185
3186static int drm_fbdev_client_restore(struct drm_client_dev *client) 3186static int drm_fbdev_client_restore(struct drm_client_dev *client)
3187{ 3187{
3188 struct drm_fb_helper *fb_helper = drm_fb_helper_from_client(client); 3188 drm_fb_helper_lastclose(client->dev);
3189
3190 drm_fb_helper_restore_fbdev_mode_unlocked(fb_helper);
3191 3189
3192 return 0; 3190 return 0;
3193} 3191}