aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorDmitry Torokhov <dtor@insightbb.com>2007-05-21 10:51:11 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-07-18 13:23:36 -0400
commit8083c5200e74a5db11c9671bfc1bcaefe8c48737 (patch)
tree37a3c0ca193ed9a6ed2e4707b83b96679eb85fbf /drivers
parent749823a06e74620ff3fefc75eab9d6fa473a9b39 (diff)
V4L/DVB (5684): V4L: ir-kbd-i2c - switch to using msecs_to_jiffies()
Signed-off-by: Dmitry Torokhov <dtor@mail.ru> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/media/video/ir-kbd-i2c.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/media/video/ir-kbd-i2c.c b/drivers/media/video/ir-kbd-i2c.c
index ed92b6f7187a..cd84d060b8e1 100644
--- a/drivers/media/video/ir-kbd-i2c.c
+++ b/drivers/media/video/ir-kbd-i2c.c
@@ -270,8 +270,9 @@ static void ir_timer(unsigned long data)
270static void ir_work(struct work_struct *work) 270static void ir_work(struct work_struct *work)
271{ 271{
272 struct IR_i2c *ir = container_of(work, struct IR_i2c, work); 272 struct IR_i2c *ir = container_of(work, struct IR_i2c, work);
273
273 ir_key_poll(ir); 274 ir_key_poll(ir);
274 mod_timer(&ir->timer, jiffies+HZ/10); 275 mod_timer(&ir->timer, jiffies + msecs_to_jiffies(100));
275} 276}
276 277
277/* ----------------------------------------------------------------------- */ 278/* ----------------------------------------------------------------------- */