summaryrefslogtreecommitdiff
path: root/drivers/media/video
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@brturbo.com.br>2005-11-13 16:08:02 -0800
committerLinus Torvalds <torvalds@g5.osdl.org>2005-11-13 18:14:19 -0800
commit6555f4322f5c8dc03047eb566d8519ba348e02de (patch)
tree19f070a66260ae2ffc45f32cf5d0d11e513c7ccf /drivers/media/video
parent80d2ad9259b04bc46556c1cd8cec558a02460a2d (diff)
[PATCH] v4l: (963) em28xx IR fixup
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>
Diffstat (limited to 'drivers/media/video')
-rw-r--r--drivers/media/video/em28xx/em28xx-input.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/media/video/em28xx/em28xx-input.c b/drivers/media/video/em28xx/em28xx-input.c
index 32c49df58adc..9b94f77d6fd7 100644
--- a/drivers/media/video/em28xx/em28xx-input.c
+++ b/drivers/media/video/em28xx/em28xx-input.c
@@ -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 */