Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 271235
b: refs/heads/master
c: c2d340a
h: refs/heads/master
i:
  271233: dcdbc09
  271231: fd88368
v: v3
  • Loading branch information
Laurent Pinchart authored and Paul Mundt committed Jun 15, 2011
1 parent 1300c14 commit 05aab70
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: c12665ffcf4e5e67b84771d30fb76dd9ff16600e
refs/heads/master: c2d340a403f08e57fb76e738e691fe466a38a8c8
4 changes: 2 additions & 2 deletions trunk/drivers/video/gxt4500.c
Original file line number Diff line number Diff line change
Expand Up @@ -543,8 +543,8 @@ static int gxt4500_pan_display(struct fb_var_screeninfo *var,

if (var->xoffset & 7)
return -EINVAL;
if (var->xoffset + var->xres > var->xres_virtual ||
var->yoffset + var->yres > var->yres_virtual)
if (var->xoffset + info->var.xres > info->var.xres_virtual ||
var->yoffset + info->var.yres > info->var.yres_virtual)
return -EINVAL;

writereg(par, REFRESH_START, (var->xoffset << 16) | var->yoffset);
Expand Down

0 comments on commit 05aab70

Please sign in to comment.