summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/cx88
diff options
context:
space:
mode:
authorGerd Knorr <devnull@localhost>2005-02-22 12:28:40 +0000
committerGerd Knorr <devnull@localhost>2005-02-22 12:28:40 +0000
commita68e65b100156e8877696e02d27b7c6485a6a7e6 (patch)
tree35a146ff779f596f82b4298eea8ee195f2895b5d /linux/drivers/media/video/cx88
parent3f08c54d9289e972068dd8676d823c479925dfb5 (diff)
downloadmediapointer-dvb-s2-a68e65b100156e8877696e02d27b7c6485a6a7e6.tar.gz
mediapointer-dvb-s2-a68e65b100156e8877696e02d27b7c6485a6a7e6.tar.bz2
- cx88: ir patches from Robert Reid.
Diffstat (limited to 'linux/drivers/media/video/cx88')
-rw-r--r--linux/drivers/media/video/cx88/cx88-input.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/linux/drivers/media/video/cx88/cx88-input.c b/linux/drivers/media/video/cx88/cx88-input.c
index 9029c818e..90388482c 100644
--- a/linux/drivers/media/video/cx88/cx88-input.c
+++ b/linux/drivers/media/video/cx88/cx88-input.c
@@ -1,5 +1,5 @@
/*
- * $Id: cx88-input.c,v 1.7 2005/02/16 13:11:55 kraxel Exp $
+ * $Id: cx88-input.c,v 1.8 2005/02/22 12:28:40 kraxel Exp $
*
* Device driver for GPIO attached remote control interfaces
* on Conexant 2388x based TV/DVB cards.
@@ -146,7 +146,7 @@ static void cx88_ir_handle_key(struct cx88_IR *ir)
}
} else {
- /* can't disturgissh keydown/up :-/ */
+ /* can't distinguish keydown/up :-/ */
ir_input_keydown(&ir->input,&ir->ir,data,data);
ir_input_nokey(&ir->input,&ir->ir);
}
@@ -197,6 +197,13 @@ int cx88_ir_init(struct cx88_core *core, struct pci_dev *pci)
ir_type = IR_TYPE_RC5;
ir->sampling = 1;
break;
+ case CX88_BOARD_WINFAST2000XP_EXPERT:
+ ir_codes = ir_codes_winfast;
+ ir->gpio_addr = MO_GP0_IO;
+ ir->mask_keycode = 0x8f8;
+ ir->mask_keyup = 0x100;
+ ir->polling = 1; // ms
+ break;
}
if (NULL == ir_codes) {
kfree(ir);