diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-07-17 16:36:20 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-07-17 16:36:20 -0300 |
commit | 27a30fb343c7bea52b88474b0b58810a2bc8c35c (patch) | |
tree | b2ba570d2c6de789131e219f53325aa700411812 /linux/drivers/media/video/bt8xx/bttvp.h | |
parent | f43cd4816ecdd3e526ab2dc70a9e956c6ef9541c (diff) | |
download | mediapointer-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/bttvp.h')
-rw-r--r-- | linux/drivers/media/video/bt8xx/bttvp.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/drivers/media/video/bt8xx/bttvp.h b/linux/drivers/media/video/bt8xx/bttvp.h index 9428a665d..3de882b35 100644 --- a/linux/drivers/media/video/bt8xx/bttvp.h +++ b/linux/drivers/media/video/bt8xx/bttvp.h @@ -295,8 +295,8 @@ extern int fini_bttv_i2c(struct bttv *btv); #define d2printk if (bttv_debug >= 2) printk #define BTTV_MAX_FBUF 0x208000 -#define BTTV_TIMEOUT (HZ/2) /* 0.5 seconds */ -#define BTTV_FREE_IDLE (HZ) /* one second */ +#define BTTV_TIMEOUT msecs_to_jiffies(500) /* 0.5 seconds */ +#define BTTV_FREE_IDLE msecs_to_jiffies(1000) /* one second */ struct bttv_pll_info { |