diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-07-17 21:36:20 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-07-20 22:35:51 +0200 |
commit | fe06fe0a4d0f781f8ae0570e4d7e517a81878c1d (patch) | |
tree | bad27deb2805b67d39e025490e68e9572f70f212 /drivers/media/video/bt8xx/bttv-cards.c | |
parent | V4L/DVB (5860): Use msecs_to_jiffies instead of HZ on some webcam drivers (diff) | |
download | linux-fe06fe0a4d0f781f8ae0570e4d7e517a81878c1d.tar.xz linux-fe06fe0a4d0f781f8ae0570e4d7e517a81878c1d.zip |
V4L/DVB (5861): Use msecs_to_jiffies instead of HZ on bttv, cx88 and saa7134
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/bt8xx/bttv-cards.c')
-rw-r--r-- | drivers/media/video/bt8xx/bttv-cards.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/bt8xx/bttv-cards.c b/drivers/media/video/bt8xx/bttv-cards.c index 2aea09c72093..387cb2122d4f 100644 --- a/drivers/media/video/bt8xx/bttv-cards.c +++ b/drivers/media/video/bt8xx/bttv-cards.c @@ -4209,7 +4209,7 @@ static int tea5757_read(struct bttv *btv) bus_low(btv,btv->mbox_clk); udelay(10); - timeout= jiffies + HZ; + timeout= jiffies + msecs_to_jiffies(1000); /* wait for DATA line to go low; error if it doesn't */ while (bus_in(btv,btv->mbox_data) && time_before(jiffies, timeout)) |