Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=84149a0f70a73385ee7fbb77024544cbed4fe16d
Commit:     84149a0f70a73385ee7fbb77024544cbed4fe16d
Parent:     d715e766ddf4786a06abe6a841e956ad8a875963
Author:     Hans Verkuil <[EMAIL PROTECTED]>
AuthorDate: Fri Jul 20 18:17:18 2007 -0300
Committer:  Mauro Carvalho Chehab <[EMAIL PROTECTED]>
CommitDate: Tue Oct 9 22:03:04 2007 -0300

    V4L/DVB (5906): ivtv-fb: replace HZ with msecs_to_jiffies
    
    Signed-off-by: Hans Verkuil <[EMAIL PROTECTED]>
    Signed-off-by: Mauro Carvalho Chehab <[EMAIL PROTECTED]>
---
 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 55265bd..6f5da57 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
 
                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;
 
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to