Skip to content

Commit

Permalink
V4L/DVB (5906): ivtv-fb: replace HZ with msecs_to_jiffies
Browse files Browse the repository at this point in the history
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
  • Loading branch information
Hans Verkuil authored and Mauro Carvalho Chehab committed Oct 10, 2007
1 parent d715e76 commit 84149a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/media/video/ivtv/ivtv-fb.c
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,7 @@ static int ivtvfb_ioctl(struct fb_info *info, unsigned int cmd, unsigned long ar

case FBIO_WAITFORVSYNC:
prepare_to_wait(&itv->vsync_waitq, &wait, TASK_INTERRUPTIBLE);
if (!schedule_timeout(HZ/20)) rc = -ETIMEDOUT;
if (!schedule_timeout(msecs_to_jiffies(50))) rc = -ETIMEDOUT;
finish_wait(&itv->vsync_waitq, &wait);
return rc;

Expand Down

0 comments on commit 84149a0

Please sign in to comment.