Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 271204
b: refs/heads/master
c: 4935ebf
h: refs/heads/master
v: v3
  • Loading branch information
Laurent Pinchart committed Aug 19, 2011
1 parent 977afdd commit 43d3516
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: 9f1b3ebbce04dc61986a1b3b41b0f1b1a77a5cc4
refs/heads/master: 4935ebf43cedadcaffa56cd59449c8b6dda6d507
4 changes: 2 additions & 2 deletions trunk/drivers/video/neofb.c
Original file line number Diff line number Diff line change
Expand Up @@ -1185,8 +1185,8 @@ static int neofb_pan_display(struct fb_var_screeninfo *var,

DBG("neofb_update_start");

Base = (var->yoffset * var->xres_virtual + var->xoffset) >> 2;
Base *= (var->bits_per_pixel + 7) / 8;
Base = (var->yoffset * info->var.xres_virtual + var->xoffset) >> 2;
Base *= (info->var.bits_per_pixel + 7) / 8;

neoUnlock();

Expand Down

0 comments on commit 43d3516

Please sign in to comment.