summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/bt8xx/bttv-cards.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2007-07-17 16:36:20 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-07-17 16:36:20 -0300
commit27a30fb343c7bea52b88474b0b58810a2bc8c35c (patch)
treeb2ba570d2c6de789131e219f53325aa700411812 /linux/drivers/media/video/bt8xx/bttv-cards.c
parentf43cd4816ecdd3e526ab2dc70a9e956c6ef9541c (diff)
downloadmediapointer-dvb-s2-27a30fb343c7bea52b88474b0b58810a2bc8c35c.tar.gz
mediapointer-dvb-s2-27a30fb343c7bea52b88474b0b58810a2bc8c35c.tar.bz2
Use msecs_to_jiffies instead of HZ on bttv, cx88 and saa7134
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux/drivers/media/video/bt8xx/bttv-cards.c')
-rw-r--r--linux/drivers/media/video/bt8xx/bttv-cards.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/video/bt8xx/bttv-cards.c b/linux/drivers/media/video/bt8xx/bttv-cards.c
index 33870eeed..87f213965 100644
--- a/linux/drivers/media/video/bt8xx/bttv-cards.c
+++ b/linux/drivers/media/video/bt8xx/bttv-cards.c
@@ -4305,7 +4305,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))