Commit 6555f432 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab Committed by Linus Torvalds

[PATCH] v4l: (963) em28xx IR fixup

Removed the code that avoids repeating events when pressing IR keys.
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@brturbo.com.br>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 80d2ad92
...@@ -120,9 +120,6 @@ static int get_key_em_haup(struct IR_i2c *ir, u32 *ir_key, u32 *ir_raw) ...@@ -120,9 +120,6 @@ static int get_key_em_haup(struct IR_i2c *ir, u32 *ir_key, u32 *ir_raw)
if (buf[1]==0xff) if (buf[1]==0xff)
return 0; return 0;
/* avoid fast reapeating */
if (buf[1]==ir->old)
return 0;
ir->old=buf[1]; ir->old=buf[1];
/* Rearranges bits to the right order */ /* Rearranges bits to the right order */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment