Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 139293
b: refs/heads/master
c: c958557
h: refs/heads/master
i:
  139291: 13e0bb0
v: v3
  • Loading branch information
Felipe Contreras authored and Linus Torvalds committed Apr 1, 2009
1 parent 235bb12 commit 855fb7c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 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: 23b736545473ed853b685cbc03883aa6ff3f0e0d
refs/heads/master: c958557eb6e5f0fa15aeda3b6f952051b4179394
8 changes: 4 additions & 4 deletions trunk/drivers/video/omap/omapfb_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ static int omapfb_blank(int blank, struct fb_info *fbi)

omapfb_rqueue_lock(fbdev);
switch (blank) {
case VESA_NO_BLANKING:
case FB_BLANK_UNBLANK:
if (fbdev->state == OMAPFB_SUSPENDED) {
if (fbdev->ctrl->resume)
fbdev->ctrl->resume();
Expand All @@ -349,7 +349,7 @@ static int omapfb_blank(int blank, struct fb_info *fbi)
do_update = 1;
}
break;
case VESA_POWERDOWN:
case FB_BLANK_POWERDOWN:
if (fbdev->state == OMAPFB_ACTIVE) {
fbdev->panel->disable(fbdev->panel);
if (fbdev->ctrl->suspend)
Expand Down Expand Up @@ -1818,7 +1818,7 @@ static int omapfb_suspend(struct platform_device *pdev, pm_message_t mesg)
{
struct omapfb_device *fbdev = platform_get_drvdata(pdev);

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

return 0;
}
Expand All @@ -1828,7 +1828,7 @@ static int omapfb_resume(struct platform_device *pdev)
{
struct omapfb_device *fbdev = platform_get_drvdata(pdev);

omapfb_blank(VESA_NO_BLANKING, fbdev->fb_info[0]);
omapfb_blank(FB_BLANK_UNBLANK, fbdev->fb_info[0]);
return 0;
}

Expand Down

0 comments on commit 855fb7c

Please sign in to comment.