diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2007-07-20 17:17:18 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-10-09 21:03:04 -0400 |
commit | 84149a0f70a73385ee7fbb77024544cbed4fe16d (patch) | |
tree | 1cbc32fcfcded1d0b8c250d1dbb5d3ad9f22baeb /drivers | |
parent | d715e766ddf4786a06abe6a841e956ad8a875963 (diff) |
V4L/DVB (5906): ivtv-fb: replace HZ with msecs_to_jiffies
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers')
-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 55265bd5c25..6f5da57299a 100644 --- a/drivers/media/video/ivtv/ivtv-fb.c +++ b/drivers/media/video/ivtv/ivtv-fb.c | |||
@@ -420,7 +420,7 @@ static int ivtvfb_ioctl(struct fb_info *info, unsigned int cmd, unsigned long ar | |||
420 | 420 | ||
421 | case FBIO_WAITFORVSYNC: | 421 | case FBIO_WAITFORVSYNC: |
422 | prepare_to_wait(&itv->vsync_waitq, &wait, TASK_INTERRUPTIBLE); | 422 | prepare_to_wait(&itv->vsync_waitq, &wait, TASK_INTERRUPTIBLE); |
423 | if (!schedule_timeout(HZ/20)) rc = -ETIMEDOUT; | 423 | if (!schedule_timeout(msecs_to_jiffies(50))) rc = -ETIMEDOUT; |
424 | finish_wait(&itv->vsync_waitq, &wait); | 424 | finish_wait(&itv->vsync_waitq, &wait); |
425 | return rc; | 425 | return rc; |
426 | 426 | ||