浏览代码

V4L/DVB (12492): saa7134-input: don't probe for the Pinnacle remotes anymore

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>
hermann pitton 16 年之前
父节点
当前提交
a138ebcf82
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      drivers/media/video/saa7134/saa7134-input.c

+ 2 - 0
drivers/media/video/saa7134/saa7134-input.c

@@ -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: