diff mbox

[7/8] ivtv: Probe more I2C addresses for IR devices

Message ID 20090513215513.50b69baa@hyperion.delvare (mailing list archive)
State Accepted
Headers show

Commit Message

Jean Delvare May 13, 2009, 7:55 p.m. UTC
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>
Cc: Hans Verkuil <hverkuil@xs4all.nl>
---
 linux/drivers/media/video/ivtv/ivtv-i2c.c            |    7 ++++++-
 linux/drivers/media/video/pvrusb2/pvrusb2-i2c-core.c |    2 +-
 2 files changed, 7 insertions(+), 2 deletions(-)
diff mbox

Patch

--- v4l-dvb.orig/linux/drivers/media/video/ivtv/ivtv-i2c.c	2009-05-13 16:36:49.000000000 +0200
+++ v4l-dvb/linux/drivers/media/video/ivtv/ivtv-i2c.c	2009-05-13 17:50:55.000000000 +0200
@@ -652,7 +652,12 @@  int init_ivtv_i2c(struct ivtv *itv)
 		   That's why we probe 0x1a (~0x34) first. CB
 		*/
 		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
 		};