Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 310326
b: refs/heads/master
c: b3e68d3
h: refs/heads/master
v: v3
  • Loading branch information
Grazvydas Ignotas authored and Tomi Valkeinen committed May 11, 2012
1 parent e4f95c5 commit a4ef233
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 0aca3c63e068e47616bdd54b9d19e4771db86e8e
refs/heads/master: b3e68d306519cc96ff5ad2957d133997f91bb53e
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 @@ -70,7 +70,7 @@ static int omapfb_setup_plane(struct fb_info *fbi, struct omapfb_plane_info *pi)

DBG("omapfb_setup_plane\n");

if (ofbi->num_overlays != 1) {
if (ofbi->num_overlays == 0) {
r = -EINVAL;
goto out;
}
Expand Down Expand Up @@ -185,7 +185,7 @@ static int omapfb_query_plane(struct fb_info *fbi, struct omapfb_plane_info *pi)
{
struct omapfb_info *ofbi = FB2OFB(fbi);

if (ofbi->num_overlays != 1) {
if (ofbi->num_overlays == 0) {
memset(pi, 0, sizeof(*pi));
} else {
struct omap_overlay *ovl;
Expand Down

0 comments on commit a4ef233

Please sign in to comment.