projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d715e76
)
V4L/DVB (5906): ivtv-fb: replace HZ with msecs_to_jiffies
author
Hans Verkuil
<hverkuil@xs4all.nl>
Fri, 20 Jul 2007 21:17:18 +0000
(18:17 -0300)
committer
Mauro Carvalho Chehab
<mchehab@infradead.org>
Wed, 10 Oct 2007 01:03:04 +0000
(22:03 -0300)
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/ivtv/ivtv-fb.c
patch
|
blob
|
history
diff --git
a/drivers/media/video/ivtv/ivtv-fb.c
b/drivers/media/video/ivtv/ivtv-fb.c
index 55265bd5c2505e7ec75832bd846138177900ccea..6f5da57299a10a3f05ae807dc9677bb85db3d879 100644
(file)
--- 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
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;