From f072e0cd5a31350376e8e0f6a6c9cd66a2b00fb9 Mon Sep 17 00:00:00 2001 From: "Nickolay V. Shmyrev" Date: Wed, 14 Sep 2005 21:49:42 +0000 Subject: * saa6588.c: - Improved coding style for timer settings Signed-off-by: Hans J. Koch --- linux/drivers/media/video/saa6588.c | 2 +- v4l/ChangeLog | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/linux/drivers/media/video/saa6588.c b/linux/drivers/media/video/saa6588.c index 808b89493..e4a274c67 100644 --- a/linux/drivers/media/video/saa6588.c +++ b/linux/drivers/media/video/saa6588.c @@ -332,7 +332,7 @@ static void saa6588_work(void *data) struct saa6588 *s = (struct saa6588 *)data; saa6588_i2c_poll(s); - mod_timer(&s->timer, jiffies + HZ / 50); /* 20 msec */ + mod_timer(&s->timer, jiffies + msecs_to_jiffies(20)); } static int saa6588_configure(struct saa6588 *s) diff --git a/v4l/ChangeLog b/v4l/ChangeLog index a07d7540b..4188d16f8 100644 --- a/v4l/ChangeLog +++ b/v4l/ChangeLog @@ -1,3 +1,10 @@ +2005-09-14 22:00 nshmyrev + + * saa6588.c: + - Improved coding style for timer settings + + Signed-off-by: Hans J. Koch + 2005-09-14 18:34 nshmyrev * saa7134-cards.c: (saa7134_board_init1): -- cgit v1.2.3