diff options
author | Steven Toth <stoth@hauppauge.com> | 2008-01-21 23:00:33 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-01-25 16:05:11 -0500 |
commit | 9121106a7f149f9702ed7c2ac0d86e9feb54ede8 (patch) | |
tree | c438ea68c6d06ff3467e578bb24c68a405e0264a /drivers/media/video/cx88/cx88-input.c | |
parent | 1641002bf56c1da265f2c49ea1c29baba997e63b (diff) |
V4L/DVB (7058): IR corrections for the Pinnacle 800i
IR corrections for the Pinnacle 800i
Signed-off-by: Steven Toth <stoth@hauppauge.com>
Signed-off-by: Chaogui Zhang <czhang1974@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/cx88/cx88-input.c')
-rw-r--r-- | drivers/media/video/cx88/cx88-input.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/media/video/cx88/cx88-input.c b/drivers/media/video/cx88/cx88-input.c index f79a1c77414c..bb0911b4d2f6 100644 --- a/drivers/media/video/cx88/cx88-input.c +++ b/drivers/media/video/cx88/cx88-input.c | |||
@@ -224,7 +224,6 @@ int cx88_ir_init(struct cx88_core *core, struct pci_dev *pci) | |||
224 | case CX88_BOARD_HAUPPAUGE_NOVASPLUS_S1: | 224 | case CX88_BOARD_HAUPPAUGE_NOVASPLUS_S1: |
225 | case CX88_BOARD_HAUPPAUGE_HVR1100: | 225 | case CX88_BOARD_HAUPPAUGE_HVR1100: |
226 | case CX88_BOARD_HAUPPAUGE_HVR3000: | 226 | case CX88_BOARD_HAUPPAUGE_HVR3000: |
227 | case CX88_BOARD_PINNACLE_PCTV_HD_800i: | ||
228 | ir_codes = ir_codes_hauppauge_new; | 227 | ir_codes = ir_codes_hauppauge_new; |
229 | ir_type = IR_TYPE_RC5; | 228 | ir_type = IR_TYPE_RC5; |
230 | ir->sampling = 1; | 229 | ir->sampling = 1; |
@@ -306,6 +305,11 @@ int cx88_ir_init(struct cx88_core *core, struct pci_dev *pci) | |||
306 | ir->mask_keycode = 0xfa; | 305 | ir->mask_keycode = 0xfa; |
307 | ir->polling = 50; /* ms */ | 306 | ir->polling = 50; /* ms */ |
308 | break; | 307 | break; |
308 | case CX88_BOARD_PINNACLE_PCTV_HD_800i: | ||
309 | ir_codes = ir_codes_pinnacle_pctv_hd; | ||
310 | ir_type = IR_TYPE_RC5; | ||
311 | ir->sampling = 1; | ||
312 | break; | ||
309 | } | 313 | } |
310 | 314 | ||
311 | if (NULL == ir_codes) { | 315 | if (NULL == ir_codes) { |