Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 271198
b: refs/heads/master
c: 1d4b695
h: refs/heads/master
v: v3
  • Loading branch information
Laurent Pinchart committed Aug 19, 2011
1 parent 172a784 commit 3a40583
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: d8344e090c5adff3290925cbb040d20133b7f586
refs/heads/master: 1d4b695fa32b707b40fe2dab6a21a39bd91f4615
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 3a40583

Please sign in to comment.