Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f7518bd2 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab
Browse files

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

parent 09df5cbe
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -345,8 +345,8 @@ void ir_rc5_timer_end(unsigned long data)
			}

			/* Set/reset key-up timer */
			timeout = current_jiffies + (500 + ir->rc5_key_timeout
						     * HZ) / 1000;
			timeout = current_jiffies +
				  msecs_to_jiffies(ir->rc5_key_timeout);
			mod_timer(&ir->timer_keyup, timeout);

			/* Save code for repeat test */