summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/vino.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2007-07-17 16:29:07 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-07-20 17:35:50 -0300
commit818ca4711eb8ec064c1cd5d7657f95ed6bc2bbed (patch)
tree15c4f9fe180ca13b56340a8c1fb4c7858a125314 /drivers/media/video/vino.c
parentf7518bd2d9ecad8c404c300e7872f7c2ab4961ad (diff)
downloadblackbird-op-linux-818ca4711eb8ec064c1cd5d7657f95ed6bc2bbed.tar.gz
blackbird-op-linux-818ca4711eb8ec064c1cd5d7657f95ed6bc2bbed.zip
V4L/DVB (5860): Use msecs_to_jiffies instead of HZ on some webcam drivers
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/vino.c')
-rw-r--r--drivers/media/video/vino.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/vino.c b/drivers/media/video/vino.c
index e94a9a6036f5..a0c1647a2ba4 100644
--- a/drivers/media/video/vino.c
+++ b/drivers/media/video/vino.c
@@ -2080,7 +2080,7 @@ static int vino_wait_for_frame(struct vino_channel_settings *vcs)
/* to ensure that schedule_timeout will return immediately
* if VINO interrupt was triggered meanwhile */
- schedule_timeout_interruptible(HZ / 10);
+ schedule_timeout_interruptible(msecs_to_jiffies(100));
if (signal_pending(current))
err = -EINTR;
OpenPOWER on IntegriCloud