Permalink
Browse files

Blank screen on shutdown

  • Loading branch information...
1 parent dc97e88 commit ae02f324ff6955bbfc2bbc12a84f64ce25bc4edc @warped-rudi warped-rudi committed with Oct 23, 2012
Showing with 9 additions and 0 deletions.
  1. +9 −0 drivers/video/dovefb/dovefb_base.c
@@ -1119,6 +1119,14 @@ static int __init_refok dovefb_probe(struct platform_device *pdev)
return ret;
}
+static void dovefb_shutdown(struct platform_device *pdev)
+{
+ struct dovefb_info *dfi = platform_get_drvdata(pdev);
+ struct fb_info *fi = dfi->gfx_plane->fb_info;
+
+ (*dovefb_gfx_ops.fb_blank)(FB_BLANK_POWERDOWN, fi);
+}
+
#ifdef CONFIG_PM
static int dovefb_suspend(struct platform_device *pdev, pm_message_t mesg)
{
@@ -1232,6 +1240,7 @@ static int dovefb_resume(struct platform_device *pdev)
static struct platform_driver dovefb_driver = {
.probe = dovefb_probe,
+ .shutdown = dovefb_shutdown,
#ifdef CONFIG_PM
.suspend = dovefb_suspend,
.resume = dovefb_resume,

0 comments on commit ae02f32

Please sign in to comment.