summaryrefslogtreecommitdiffstats
path: root/drivers/media/video
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@brturbo.com.br>2005-11-14 01:08:02 +0100
committerLinus Torvalds <torvalds@g5.osdl.org>2005-11-14 03:14:19 +0100
commit6555f4322f5c8dc03047eb566d8519ba348e02de (patch)
tree19f070a66260ae2ffc45f32cf5d0d11e513c7ccf /drivers/media/video
parent[PATCH] v4l: (962) Added new saa7134 card (MSI TV@anywhere plus) (diff)
downloadlinux-6555f4322f5c8dc03047eb566d8519ba348e02de.tar.xz
linux-6555f4322f5c8dc03047eb566d8519ba348e02de.zip
[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 */