Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 333591
b: refs/heads/master
c: 952cbaa
h: refs/heads/master
i:
  333589: 1df0fb7
  333587: 04e86a8
  333583: 1033541
v: v3
  • Loading branch information
Archit Taneja authored and Tomi Valkeinen committed Sep 26, 2012
1 parent 48eb89a commit c61e5c7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 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: cea87b92da825f24efd11112d414f6c8cdd4ced8
refs/heads/master: 952cbaaa9b8beacc425f9aedf370468cbb737a2c
7 changes: 5 additions & 2 deletions trunk/drivers/video/omap2/omapfb/omapfb-ioctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -599,6 +599,7 @@ int omapfb_ioctl(struct fb_info *fbi, unsigned int cmd, unsigned long arg)
struct omapfb_info *ofbi = FB2OFB(fbi);
struct omapfb2_device *fbdev = ofbi->fbdev;
struct omap_dss_device *display = fb2display(fbi);
struct omap_overlay_manager *mgr;

union {
struct omapfb_update_window_old uwnd_o;
Expand Down Expand Up @@ -786,12 +787,14 @@ int omapfb_ioctl(struct fb_info *fbi, unsigned int cmd, unsigned long arg)

case OMAPFB_WAITFORVSYNC:
DBG("ioctl WAITFORVSYNC\n");
if (!display) {
if (!display && !display->output && !display->output->manager) {
r = -EINVAL;
break;
}

r = display->manager->wait_for_vsync(display->manager);
mgr = display->output->manager;

r = mgr->wait_for_vsync(mgr);
break;

case OMAPFB_WAITFORGO:
Expand Down

0 comments on commit c61e5c7

Please sign in to comment.