Эх сурвалжийг харах

V4L/DVB (11849): ivtv: Probe more I2C addresses for IR devices

Probe I2C addresses 0x71 and 0x6b for IR receiver devices (for the
PVR150 and Adaptec cards, respectively.)

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Jean Delvare 16 жил өмнө
parent
commit
20b0ead5fd

+ 6 - 1
drivers/media/video/ivtv/ivtv-i2c.c

@@ -637,7 +637,12 @@ int init_ivtv_i2c(struct ivtv *itv)
 		   That's why we probe 0x1a (~0x34) first. CB
 		   That's why we probe 0x1a (~0x34) first. CB
 		*/
 		*/
 		const unsigned short addr_list[] = {
 		const unsigned short addr_list[] = {
-			0x1a, 0x18, 0x64, 0x30,
+			0x1a,	/* Hauppauge IR external */
+			0x18,	/* Hauppauge IR internal */
+			0x71,	/* Hauppauge IR (PVR150) */
+			0x64,	/* Pixelview IR */
+			0x30,	/* KNC ONE IR */
+			0x6b,	/* Adaptec IR */
 			I2C_CLIENT_END
 			I2C_CLIENT_END
 		};
 		};