From patchwork Wed May 13 19:55:13 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jean Delvare X-Patchwork-Id: 23594 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n4DJtNMZ009074 for ; Wed, 13 May 2009 19:55:23 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752232AbZEMTzU (ORCPT ); Wed, 13 May 2009 15:55:20 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753350AbZEMTzU (ORCPT ); Wed, 13 May 2009 15:55:20 -0400 Received: from zone0.gcu-squad.org ([212.85.147.21]:3218 "EHLO services.gcu-squad.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752232AbZEMTzT (ORCPT ); Wed, 13 May 2009 15:55:19 -0400 Received: from jdelvare.pck.nerim.net ([62.212.121.182] helo=hyperion.delvare) by services.gcu-squad.org (GCU Mailer Daemon) with esmtpsa id 1M4Lds-0002pj-A6 (TLSv1:AES256-SHA:256) (envelope-from ) ; Wed, 13 May 2009 23:05:32 +0200 Date: Wed, 13 May 2009 21:55:13 +0200 From: Jean Delvare To: LMML Cc: Mauro Carvalho Chehab , Andy Walls , Hans Verkuil , Mike Isely Subject: [PATCH 7/8] ivtv: Probe more I2C addresses for IR devices Message-ID: <20090513215513.50b69baa@hyperion.delvare> In-Reply-To: <20090513214559.0f009231@hyperion.delvare> References: <20090513214559.0f009231@hyperion.delvare> X-Mailer: Claws Mail 3.5.0 (GTK+ 2.14.4; x86_64-suse-linux-gnu) Mime-Version: 1.0 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org Probe I2C addresses 0x71 and 0x6b for IR receiver devices (for the PVR150 and Adaptec cards, respectively.) Signed-off-by: Jean Delvare Cc: Hans Verkuil --- 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(-) --- 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 };