V4L/DVB (12492): saa7134-input: don't probe for the Pinnacle remotes anymore
authorhermann pitton <hermann-pitton@arcor.de>
Thu, 20 Aug 2009 01:30:58 +0000 (22:30 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 12 Sep 2009 15:19:15 +0000 (12:19 -0300)
With the recent improvements we don't need to probe anymore, if we know
the i2c address of the receiver.

The address of the receiver for the remote with the gray buttons is not
confirmed anywhere, but it is very unlikely to see it on something else.

We want to have that information anyway.

BTW, those remaining still probing, please join.

Signed-off-by: hermann pitton <hermann-pitton@arcor.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/saa7134/saa7134-input.c

index dd8a242..bd0bfde 100644 (file)
@@ -721,9 +721,11 @@ void saa7134_probe_i2c_ir(struct saa7134_dev *dev)
                if (pinnacle_remote == 0) {
                        init_data.get_key = get_key_pinnacle_color;
                        init_data.ir_codes = ir_codes_pinnacle_color;
+                       info.addr = 0x47;
                } else {
                        init_data.get_key = get_key_pinnacle_grey;
                        init_data.ir_codes = ir_codes_pinnacle_grey;
+                       info.addr = 0x47;
                }
                break;
        case SAA7134_BOARD_UPMOST_PURPLE_TV: