aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/cx88/cx88-input.c
diff options
context:
space:
mode:
authorRicardo Cerqueira <v4l@cerqueira.org>2006-06-08 16:36:17 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2006-06-25 01:05:07 -0400
commitbe4f451975c6514a9e12451c2ae2ce91d5673b06 (patch)
treeb217deec3af38171343fc25d2d6f10b9798afb62 /drivers/media/video/cx88/cx88-input.c
parent2ed64eb9e7b4cf27055f78a7bd2ccf33a912d0cd (diff)
V4L/DVB (4088): Fixes for card cx88 #50
The description of the card has been updated to it's full name/model. The tuner has also been switched to a more compatible one (radio wasn't working, now it is) Signed-off-by: Ricardo Cerqueira <v4l@cerqueira.org> 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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/video/cx88/cx88-input.c b/drivers/media/video/cx88/cx88-input.c
index f599cfc5aba0..1f5ccc95029c 100644
--- a/drivers/media/video/cx88/cx88-input.c
+++ b/drivers/media/video/cx88/cx88-input.c
@@ -74,7 +74,7 @@ static void cx88_ir_handle_key(struct cx88_IR *ir)
74 74
75 /* read gpio value */ 75 /* read gpio value */
76 gpio = cx_read(ir->gpio_addr); 76 gpio = cx_read(ir->gpio_addr);
77 if (core->board == CX88_BOARD_NPGTECH_REALTV) { 77 if (core->board == CX88_BOARD_NPGTECH_REALTV_TOP10FM) {
78 /* This board apparently uses a combination of 2 GPIO 78 /* This board apparently uses a combination of 2 GPIO
79 to represent the keys. Additionally, the second GPIO 79 to represent the keys. Additionally, the second GPIO
80 can be used for parity. 80 can be used for parity.
@@ -248,7 +248,7 @@ int cx88_ir_init(struct cx88_core *core, struct pci_dev *pci)
248 ir_type = IR_TYPE_PD; 248 ir_type = IR_TYPE_PD;
249 ir->sampling = 0xff00; /* address */ 249 ir->sampling = 0xff00; /* address */
250 break; 250 break;
251 case CX88_BOARD_NPGTECH_REALTV: 251 case CX88_BOARD_NPGTECH_REALTV_TOP10FM:
252 ir_codes = ir_codes_npgtech; 252 ir_codes = ir_codes_npgtech;
253 ir->gpio_addr = MO_GP0_IO; 253 ir->gpio_addr = MO_GP0_IO;
254 ir->mask_keycode = 0xfa; 254 ir->mask_keycode = 0xfa;