aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/media/video/saa7134/saa7134-input.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/media/video/saa7134/saa7134-input.c b/drivers/media/video/saa7134/saa7134-input.c
index e1e83c7b966..a0e8c62e6ae 100644
--- a/drivers/media/video/saa7134/saa7134-input.c
+++ b/drivers/media/video/saa7134/saa7134-input.c
@@ -251,6 +251,10 @@ static int get_key_beholdm6xx(struct IR_i2c *ir, u32 *ir_key, u32 *ir_raw)
251 if (data[10] != 0x6b && data[11] != 0x86 && disable_other_ir) 251 if (data[10] != 0x6b && data[11] != 0x86 && disable_other_ir)
252 return 0; 252 return 0;
253 253
254 /* Wrong data decode fix */
255 if (data[9] != (unsigned char)(~data[8]))
256 return 0;
257
254 *ir_key = data[9]; 258 *ir_key = data[9];
255 *ir_raw = data[9]; 259 *ir_raw = data[9];
256 260