V4L/DVB (6981): Fix bugzillas 9686 and 9691
[deliverable/linux.git] / drivers / media / video / bt8xx / bttv-input.c
index e7c521b8444afea5dca779091a9fa4bda2b8c691..fc9ecb21eec6e66311e773126f93f3ab74bfe582 100644 (file)
@@ -69,6 +69,11 @@ static void ir_handle_key(struct bttv *btv)
            (ir->mask_keyup    &&  (0 == (gpio & ir->mask_keyup)))) {
                ir_input_keydown(ir->dev,&ir->ir,data,data);
        } else {
+               /* HACK: Probably, ir->mask_keydown is missing
+                  for this board */
+               if (btv->c.type == BTTV_BOARD_WINFAST2000)
+                       ir_input_keydown(ir->dev, &ir->ir, data, data);
+
                ir_input_nokey(ir->dev,&ir->ir);
        }
 
This page took 0.025021 seconds and 5 git commands to generate.