Skip to content

Commit

Permalink
[PATCH] v4l: (963) em28xx IR fixup
Browse files Browse the repository at this point in the history
Removed the code that avoids repeating events when pressing IR keys.

Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
Mauro Carvalho Chehab authored and Linus Torvalds committed Nov 14, 2005
1 parent 80d2ad9 commit 6555f43
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions drivers/media/video/em28xx/em28xx-input.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 6555f43

Please sign in to comment.