提交 6555f432 编写于 作者: M Mauro Carvalho Chehab 提交者: Linus Torvalds

[PATCH] v4l: (963) em28xx IR fixup

Removed the code that avoids repeating events when pressing IR keys.
Signed-off-by: NMauro Carvalho Chehab <mchehab@brturbo.com.br>
Signed-off-by: NAndrew Morton <akpm@osdl.org>
Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
上级 80d2ad92
......@@ -120,9 +120,6 @@ static int get_key_em_haup(struct IR_i2c *ir, u32 *ir_key, u32 *ir_raw)
if (buf[1]==0xff)
return 0;
/* avoid fast reapeating */
if (buf[1]==ir->old)
return 0;
ir->old=buf[1];
/* Rearranges bits to the right order */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册