diff options
Diffstat (limited to 'drivers/media/video/ivtv/ivtv-fb.c')
-rw-r--r-- | drivers/media/video/ivtv/ivtv-fb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/ivtv/ivtv-fb.c b/drivers/media/video/ivtv/ivtv-fb.c index f5ed2cf1cd87..e80564aed632 100644 --- a/drivers/media/video/ivtv/ivtv-fb.c +++ b/drivers/media/video/ivtv/ivtv-fb.c | |||
@@ -405,7 +405,7 @@ static int ivtvfb_ioctl(struct fb_info *info, unsigned int cmd, unsigned long ar | |||
405 | if (itv->is_50hz && trace > 312) trace -= 312; | 405 | if (itv->is_50hz && trace > 312) trace -= 312; |
406 | else if (itv->is_60hz && trace > 262) trace -= 262; | 406 | else if (itv->is_60hz && trace > 262) trace -= 262; |
407 | if (trace == 1) vblank.flags |= FB_VBLANK_VSYNCING; | 407 | if (trace == 1) vblank.flags |= FB_VBLANK_VSYNCING; |
408 | vblank.count = itv->last_vsync_frame; | 408 | vblank.count = itv->last_vsync_field; |
409 | vblank.vcount = trace; | 409 | vblank.vcount = trace; |
410 | vblank.hcount = 0; | 410 | vblank.hcount = 0; |
411 | if (copy_to_user((void __user *)arg, &vblank, sizeof(vblank))) | 411 | if (copy_to_user((void __user *)arg, &vblank, sizeof(vblank))) |