projects
/
kernel
/
kernel-generic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
749823a
)
V4L/DVB (5684): V4L: ir-kbd-i2c - switch to using msecs_to_jiffies()
author
Dmitry Torokhov
<dtor@insightbb.com>
Mon, 21 May 2007 14:51:11 +0000
(11:51 -0300)
committer
Mauro Carvalho Chehab
<mchehab@infradead.org>
Wed, 18 Jul 2007 17:23:36 +0000
(14:23 -0300)
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/ir-kbd-i2c.c
patch
|
blob
|
history
diff --git
a/drivers/media/video/ir-kbd-i2c.c
b/drivers/media/video/ir-kbd-i2c.c
index
ed92b6f
..
cd84d06
100644
(file)
--- 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)
static void ir_work(struct work_struct *work)
{
struct IR_i2c *ir = container_of(work, struct IR_i2c, work);
+
ir_key_poll(ir);
- mod_timer(&ir->timer, jiffies
+HZ/10
);
+ mod_timer(&ir->timer, jiffies
+ msecs_to_jiffies(100)
);
}
/* ----------------------------------------------------------------------- */