Package: linux-2.6
Version: 2.6.37-2
Severity: normal
Tags: patch

--- Please enter the report below this line. ---
Hello.

Pinnacle PCTV 110i TV-tuner board has IR remote control, which was recognized
by kernel as input device before this (http://goo.gl/U3Fal) upstream patch. 
Since then, ir-kbd-i2c module fails to probe it with the following debug 
message:

ir-kbd-i2c: : Unsupported device at address 0x47

which is probably due to some uninitialized structure member. I tried to look 
for fix in the upstream, but cannot find any yet (they did a lot of code 
rearranging). Well, don't know how useful is this patch for upstream, but it 
fixes the problem anyway:

diff -uNr a/drivers/media/video/saa7134/saa7134-input.c b/drivers/media/video/saa7134/saa7134-input.c
--- a/drivers/media/video/saa7134/saa7134-input.c	2011-01-05 05:50:19.000000000 +0500
+++ b/drivers/media/video/saa7134/saa7134-input.c	2011-03-09 14:17:05.000000000 +0500
@@ -936,6 +936,7 @@
 	memset(&info, 0, sizeof(struct i2c_board_info));
 	memset(&dev->init_data, 0, sizeof(dev->init_data));
 	strlcpy(info.type, "ir_video", I2C_NAME_SIZE);
+	dev->init_data.type = IR_TYPE_OTHER;
 
 	switch (dev->board) {
 	case SAA7134_BOARD_PINNACLE_PCTV_110i:

Reply via email to