aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/bt8xx/bttv-input.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/bt8xx/bttv-input.c')
-rw-r--r--drivers/media/video/bt8xx/bttv-input.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/media/video/bt8xx/bttv-input.c b/drivers/media/video/bt8xx/bttv-input.c
index e7c521b8444a..fc9ecb21eec6 100644
--- a/drivers/media/video/bt8xx/bttv-input.c
+++ b/drivers/media/video/bt8xx/bttv-input.c
@@ -69,6 +69,11 @@ static void ir_handle_key(struct bttv *btv)
69 (ir->mask_keyup && (0 == (gpio & ir->mask_keyup)))) { 69 (ir->mask_keyup && (0 == (gpio & ir->mask_keyup)))) {
70 ir_input_keydown(ir->dev,&ir->ir,data,data); 70 ir_input_keydown(ir->dev,&ir->ir,data,data);
71 } else { 71 } else {
72 /* HACK: Probably, ir->mask_keydown is missing
73 for this board */
74 if (btv->c.type == BTTV_BOARD_WINFAST2000)
75 ir_input_keydown(ir->dev, &ir->ir, data, data);
76
72 ir_input_nokey(ir->dev,&ir->ir); 77 ir_input_nokey(ir->dev,&ir->ir);
73 } 78 }
74 79