Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 251021
b: refs/heads/master
c: bcd8e37
h: refs/heads/master
i:
  251019: 5f47bfd
v: v3
  • Loading branch information
Jani Nikula authored and Tomi Valkeinen committed May 11, 2011
1 parent 3805b95 commit d14de86
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 14 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: 91ac27a6879df3865e160adf979960a14f17d1aa
refs/heads/master: bcd8e374b5d39d481d00936e183b0ded99a5f31a
13 changes: 0 additions & 13 deletions trunk/drivers/video/omap2/omapfb/omapfb-main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1271,7 +1271,6 @@ static int omapfb_blank(int blank, struct fb_info *fbi)
struct omapfb_info *ofbi = FB2OFB(fbi);
struct omapfb2_device *fbdev = ofbi->fbdev;
struct omap_dss_device *display = fb2display(fbi);
int do_update = 0;
int r = 0;

if (!display)
Expand All @@ -1287,11 +1286,6 @@ static int omapfb_blank(int blank, struct fb_info *fbi)
if (display->driver->resume)
r = display->driver->resume(display);

if (r == 0 && display->driver->get_update_mode &&
display->driver->get_update_mode(display) ==
OMAP_DSS_UPDATE_MANUAL)
do_update = 1;

break;

case FB_BLANK_NORMAL:
Expand All @@ -1315,13 +1309,6 @@ static int omapfb_blank(int blank, struct fb_info *fbi)
exit:
omapfb_unlock(fbdev);

if (r == 0 && do_update && display->driver->update) {
u16 w, h;
display->driver->get_resolution(display, &w, &h);

r = display->driver->update(display, 0, 0, w, h);
}

return r;
}

Expand Down

0 comments on commit d14de86

Please sign in to comment.