diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-07-17 15:36:20 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-07-20 16:35:51 -0400 |
commit | fe06fe0a4d0f781f8ae0570e4d7e517a81878c1d (patch) | |
tree | bad27deb2805b67d39e025490e68e9572f70f212 /drivers/media/video/bt8xx/bttvp.h | |
parent | 818ca4711eb8ec064c1cd5d7657f95ed6bc2bbed (diff) |
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/bttvp.h')
-rw-r--r-- | drivers/media/video/bt8xx/bttvp.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/video/bt8xx/bttvp.h b/drivers/media/video/bt8xx/bttvp.h index bd85f6d0fbe3..5b25faca1504 100644 --- a/drivers/media/video/bt8xx/bttvp.h +++ b/drivers/media/video/bt8xx/bttvp.h | |||
@@ -284,8 +284,8 @@ extern int fini_bttv_i2c(struct bttv *btv); | |||
284 | #define d2printk if (bttv_debug >= 2) printk | 284 | #define d2printk if (bttv_debug >= 2) printk |
285 | 285 | ||
286 | #define BTTV_MAX_FBUF 0x208000 | 286 | #define BTTV_MAX_FBUF 0x208000 |
287 | #define BTTV_TIMEOUT (HZ/2) /* 0.5 seconds */ | 287 | #define BTTV_TIMEOUT msecs_to_jiffies(500) /* 0.5 seconds */ |
288 | #define BTTV_FREE_IDLE (HZ) /* one second */ | 288 | #define BTTV_FREE_IDLE msecs_to_jiffies(1000) /* one second */ |
289 | 289 | ||
290 | 290 | ||
291 | struct bttv_pll_info { | 291 | struct bttv_pll_info { |