Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 196752
b: refs/heads/master
c: 238a413
h: refs/heads/master
v: v3
  • Loading branch information
Jani Nikula authored and Tomi Valkeinen committed May 18, 2010
1 parent 4a93886 commit 73b38c9
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 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: 508886cf98c81cee73cd75943b3d0039801327ab
refs/heads/master: 238a41329ca208d1170962260babb428b6e222c2
4 changes: 2 additions & 2 deletions trunk/drivers/video/omap2/omapfb/omapfb-ioctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -183,13 +183,13 @@ int omapfb_update_window(struct fb_info *fbi,
struct omapfb2_device *fbdev = ofbi->fbdev;
int r;

omapfb_lock(fbdev);
lock_fb_info(fbi);
omapfb_lock(fbdev);

r = omapfb_update_window_nolock(fbi, x, y, w, h);

unlock_fb_info(fbi);
omapfb_unlock(fbdev);
unlock_fb_info(fbi);

return r;
}
Expand Down
8 changes: 4 additions & 4 deletions trunk/drivers/video/omap2/omapfb/omapfb-sysfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,8 @@ static ssize_t show_overlays(struct device *dev,
ssize_t l = 0;
int t;

omapfb_lock(fbdev);
lock_fb_info(fbi);
omapfb_lock(fbdev);

for (t = 0; t < ofbi->num_overlays; t++) {
struct omap_overlay *ovl = ofbi->overlays[t];
Expand All @@ -154,8 +154,8 @@ static ssize_t show_overlays(struct device *dev,

l += snprintf(buf + l, PAGE_SIZE - l, "\n");

unlock_fb_info(fbi);
omapfb_unlock(fbdev);
unlock_fb_info(fbi);

return l;
}
Expand Down Expand Up @@ -195,8 +195,8 @@ static ssize_t store_overlays(struct device *dev, struct device_attribute *attr,
if (buf[len - 1] == '\n')
len = len - 1;

omapfb_lock(fbdev);
lock_fb_info(fbi);
omapfb_lock(fbdev);

if (len > 0) {
char *p = (char *)buf;
Expand Down Expand Up @@ -303,8 +303,8 @@ static ssize_t store_overlays(struct device *dev, struct device_attribute *attr,

r = count;
out:
unlock_fb_info(fbi);
omapfb_unlock(fbdev);
unlock_fb_info(fbi);

return r;
}
Expand Down

0 comments on commit 73b38c9

Please sign in to comment.