Commit 8083c520 authored by Dmitry Torokhov's avatar Dmitry Torokhov Committed by Mauro Carvalho Chehab
Browse files

V4L/DVB (5684): V4L: ir-kbd-i2c - switch to using msecs_to_jiffies()

parent 749823a0
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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));
}

/* ----------------------------------------------------------------------- */