diff options
-rw-r--r-- | linux/drivers/media/video/saa6588.c | 2 | ||||
-rw-r--r-- | v4l/ChangeLog | 7 |
2 files changed, 8 insertions, 1 deletions
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 <koch@hjk-az.de> + 2005-09-14 18:34 nshmyrev * saa7134-cards.c: (saa7134_board_init1): |