Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 251076
b: refs/heads/master
c: e1d0178
h: refs/heads/master
v: v3
  • Loading branch information
Tomi Valkeinen committed May 12, 2011
1 parent 895ccd0 commit 4e6f1c9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 30 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: c42ced6391ca19e6796b1984bd200f6ff8e5644a
refs/heads/master: e1d01789017cf327d63f7748025317763253960b
29 changes: 0 additions & 29 deletions trunk/drivers/video/omap2/omapfb/omapfb-main.c
Original file line number Diff line number Diff line change
Expand Up @@ -757,35 +757,6 @@ static int omapfb_open(struct fb_info *fbi, int user)

static int omapfb_release(struct fb_info *fbi, int user)
{
#if 0
struct omapfb_info *ofbi = FB2OFB(fbi);
struct omapfb2_device *fbdev = ofbi->fbdev;
struct omap_dss_device *display = fb2display(fbi);

DBG("Closing fb with plane index %d\n", ofbi->id);

omapfb_lock(fbdev);

if (display && display->get_update_mode && display->update) {
/* XXX this update should be removed, I think. But it's
* good for debugging */
if (display->get_update_mode(display) ==
OMAP_DSS_UPDATE_MANUAL) {
u16 w, h;

if (display->sync)
display->sync(display);

display->get_resolution(display, &w, &h);
display->update(display, 0, 0, w, h);
}
}

if (display && display->sync)
display->sync(display);

omapfb_unlock(fbdev);
#endif
return 0;
}

Expand Down

0 comments on commit 4e6f1c9

Please sign in to comment.