提交 f7518bd2 编写于 作者: M Mauro Carvalho Chehab

V4L/DVB (5859): use msecs_to_jiffies on InfraRed RC5 timeout

Signed-off-by: NMauro Carvalho Chehab <mchehab@infradead.org>
上级 09df5cbe
...@@ -345,8 +345,8 @@ void ir_rc5_timer_end(unsigned long data) ...@@ -345,8 +345,8 @@ void ir_rc5_timer_end(unsigned long data)
} }
/* Set/reset key-up timer */ /* Set/reset key-up timer */
timeout = current_jiffies + (500 + ir->rc5_key_timeout timeout = current_jiffies +
* HZ) / 1000; msecs_to_jiffies(ir->rc5_key_timeout);
mod_timer(&ir->timer_keyup, timeout); mod_timer(&ir->timer_keyup, timeout);
/* Save code for repeat test */ /* Save code for repeat test */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册