diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-05-21 11:51:11 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-05-21 11:51:11 -0300 |
commit | cac5da1c7c1873320073fccdefc334fc34a745e3 (patch) | |
tree | 134cdd971d05eb185653673b7633a8633fa5b031 | |
parent | 37019a7d11c6cd4a51e9766830f6ed25e3e709d8 (diff) | |
download | mediapointer-dvb-s2-cac5da1c7c1873320073fccdefc334fc34a745e3.tar.gz mediapointer-dvb-s2-cac5da1c7c1873320073fccdefc334fc34a745e3.tar.bz2 |
V4L: ir-kbd-i2c - switch to using msecs_to_jiffies()
From: Dmitry Torokhov <dtor@insightbb.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
-rw-r--r-- | linux/drivers/media/video/ir-kbd-i2c.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/linux/drivers/media/video/ir-kbd-i2c.c b/linux/drivers/media/video/ir-kbd-i2c.c index 8d0c49782..3333d0832 100644 --- a/linux/drivers/media/video/ir-kbd-i2c.c +++ b/linux/drivers/media/video/ir-kbd-i2c.c @@ -279,8 +279,9 @@ static void ir_work(struct work_struct *work) #else struct IR_i2c *ir = container_of(work, struct IR_i2c, work); #endif + ir_key_poll(ir); - mod_timer(&ir->timer, jiffies+HZ/10); + mod_timer(&ir->timer, jiffies + msecs_to_jiffies(100)); } /* ----------------------------------------------------------------------- */ |