[PATCH] v4l: (963) em28xx IR fixup
authorMauro Carvalho Chehab <mchehab@brturbo.com.br>
Mon, 14 Nov 2005 00:08:02 +0000 (16:08 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 14 Nov 2005 02:14:19 +0000 (18:14 -0800)
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>
drivers/media/video/em28xx/em28xx-input.c

index 32c49df58adc14c73c304c53adce2af78a8ca78d..9b94f77d6fd731f8926754562a8bbbd6e3e83d6a 100644 (file)
@@ -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 */