mirror of
https://github.com/torvalds/linux.git
synced 2024-12-20 01:52:13 +00:00
[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>
This commit is contained in:
parent
80d2ad9259
commit
6555f4322f
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user