Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 253243
b: refs/heads/master
c: 5d9c08d
h: refs/heads/master
i:
  253241: 334e000
  253239: dd3752f
v: v3
  • Loading branch information
Laurent Pinchart authored and Mauro Carvalho Chehab committed Jun 1, 2011
1 parent d08e208 commit 4ae3915
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 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: 7700a0d293ad8b1b1759ad06ac868f9a42fd0951
refs/heads/master: 5d9c08dea0c13c09408f97fe61d34c198c4f3277
3 changes: 2 additions & 1 deletion trunk/drivers/media/video/ivtv/ivtvfb.c
Original file line number Diff line number Diff line change
Expand Up @@ -836,7 +836,8 @@ static int ivtvfb_pan_display(struct fb_var_screeninfo *var, struct fb_info *inf
u32 osd_pan_index;
struct ivtv *itv = (struct ivtv *) info->par;

osd_pan_index = (var->xoffset + (var->yoffset * var->xres_virtual))*var->bits_per_pixel/8;
osd_pan_index = var->yoffset * info->fix.line_length
+ var->xoffset * info->var.bits_per_pixel / 8;
write_reg(osd_pan_index, 0x02A0C);

/* Pass this info back the yuv handler */
Expand Down

0 comments on commit 4ae3915

Please sign in to comment.