summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/ivtv/ivtv-fb.c
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2007-07-20 23:17:18 +0200
committerHans Verkuil <hverkuil@xs4all.nl>2007-07-20 23:17:18 +0200
commit7755d5e32117dc27025d42c26e26c78a334988de (patch)
treec40271a99b206d31795d953b510eb621f3feafce /linux/drivers/media/video/ivtv/ivtv-fb.c
parented7f53117ffd06e00be81b95953fb3b619f0b162 (diff)
downloadmediapointer-dvb-s2-7755d5e32117dc27025d42c26e26c78a334988de.tar.gz
mediapointer-dvb-s2-7755d5e32117dc27025d42c26e26c78a334988de.tar.bz2
ivtv-fb: replace HZ with msecs_to_jiffies.
From: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'linux/drivers/media/video/ivtv/ivtv-fb.c')
-rw-r--r--linux/drivers/media/video/ivtv/ivtv-fb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/video/ivtv/ivtv-fb.c b/linux/drivers/media/video/ivtv/ivtv-fb.c
index 55265bd5c..6f5da5729 100644
--- a/linux/drivers/media/video/ivtv/ivtv-fb.c
+++ b/linux/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
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;