summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNickolay V. Shmyrev <devnull@localhost>2005-09-14 21:49:42 +0000
committerNickolay V. Shmyrev <devnull@localhost>2005-09-14 21:49:42 +0000
commitf072e0cd5a31350376e8e0f6a6c9cd66a2b00fb9 (patch)
tree4823b64412ac332c2163257f65957b4a3333847c
parenta9769823bfd75d521aa2ef735ab798352ebd32b7 (diff)
downloadmediapointer-dvb-s2-f072e0cd5a31350376e8e0f6a6c9cd66a2b00fb9.tar.gz
mediapointer-dvb-s2-f072e0cd5a31350376e8e0f6a6c9cd66a2b00fb9.tar.bz2
* saa6588.c:
- Improved coding style for timer settings Signed-off-by: Hans J. Koch <koch@hjk-az.de>
-rw-r--r--linux/drivers/media/video/saa6588.c2
-rw-r--r--v4l/ChangeLog7
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):