Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 164838
b: refs/heads/master
c: b6c2b66
h: refs/heads/master
v: v3
  • Loading branch information
Jouni Hogander authored and Linus Torvalds committed Sep 23, 2009
1 parent b5ea4d2 commit 400a0f6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4c88ef170f0f9b1f26923b43af526c973c5a74da
refs/heads/master: b6c2b66d353dba229ce167acef49639b9ddf90d9
7 changes: 4 additions & 3 deletions trunk/drivers/video/omap/omapfb_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1846,8 +1846,8 @@ static int omapfb_suspend(struct platform_device *pdev, pm_message_t mesg)
{
struct omapfb_device *fbdev = platform_get_drvdata(pdev);

omapfb_blank(FB_BLANK_POWERDOWN, fbdev->fb_info[0]);

if (fbdev != NULL)
omapfb_blank(FB_BLANK_POWERDOWN, fbdev->fb_info[0]);
return 0;
}

Expand All @@ -1856,7 +1856,8 @@ static int omapfb_resume(struct platform_device *pdev)
{
struct omapfb_device *fbdev = platform_get_drvdata(pdev);

omapfb_blank(FB_BLANK_UNBLANK, fbdev->fb_info[0]);
if (fbdev != NULL)
omapfb_blank(FB_BLANK_UNBLANK, fbdev->fb_info[0]);
return 0;
}

Expand Down

0 comments on commit 400a0f6

Please sign in to comment.