From patchwork Thu Aug 20 01:30:58 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: hermann pitton X-Patchwork-Id: 42812 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 n7K1dqs4010664 for ; Thu, 20 Aug 2009 01:39:52 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753797AbZHTBiw (ORCPT ); Wed, 19 Aug 2009 21:38:52 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753834AbZHTBiw (ORCPT ); Wed, 19 Aug 2009 21:38:52 -0400 Received: from mail-in-14.arcor-online.net ([151.189.21.54]:53188 "EHLO mail-in-14.arcor-online.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753688AbZHTBiv (ORCPT ); Wed, 19 Aug 2009 21:38:51 -0400 Received: from mail-in-01-z2.arcor-online.net (mail-in-01-z2.arcor-online.net [151.189.8.13]) by mx.arcor.de (Postfix) with ESMTP id BF65128AD4D for ; Thu, 20 Aug 2009 03:38:51 +0200 (CEST) Received: from mail-in-11.arcor-online.net (mail-in-11.arcor-online.net [151.189.21.51]) by mail-in-01-z2.arcor-online.net (Postfix) with ESMTP id B70502BF6A5 for ; Thu, 20 Aug 2009 03:38:51 +0200 (CEST) Received: from [192.168.178.24] (pD9E105E3.dip0.t-ipconnect.de [217.225.5.227]) (Authenticated sender: hermann-pitton@arcor.de) by mail-in-11.arcor-online.net (Postfix) with ESMTPSA id 8F810E396A for ; Thu, 20 Aug 2009 03:38:51 +0200 (CEST) X-DKIM: Sendmail DKIM Filter v2.8.2 mail-in-11.arcor-online.net 8F810E396A DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=arcor.de; s=mail-in; t=1250732331; bh=9MoPA5Ivwv/9llR2lgOgC4jM5HXUz1zn5MJFs59bmoE=; h=Subject:From:To:Content-Type:Date:Message-Id:Mime-Version; b=ONKx157IMrj+Ev9VJ0JSBMHTxqXDwbG5YylyuWx5UiKx/P0yPbHBBmiZPpOAsC/Tk 0EB99Uwfs+U6AZ8HDYzllYZvK4fF59MbdR9FIUHv3RW0XbwQkrxX6RwnrZfOsqpfBo ppYy/bKBjx+uF8922gBHYUcRMblK1cXarpY0jp40= Subject: [PATCH] saa7134-input: don't probe for the Pinnacle remotes anymore From: hermann pitton To: linux-media@vger.kernel.org Date: Thu, 20 Aug 2009 03:30:58 +0200 Message-Id: <1250731858.3251.23.camel@pc07.localdom.local> Mime-Version: 1.0 X-Mailer: Evolution 2.12.3 (2.12.3-5.fc8) Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org 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 diff -r 3f7e382dfae5 linux/drivers/media/video/saa7134/saa7134-input.c --- a/linux/drivers/media/video/saa7134/saa7134-input.c Sun Aug 16 21:53:17 2009 -0300 +++ b/linux/drivers/media/video/saa7134/saa7134-input.c Thu Aug 20 00:56:31 2009 +0200 @@ -782,6 +782,7 @@ #else init_data.get_key = get_key_pinnacle_color; init_data.ir_codes = ir_codes_pinnacle_color; + info.addr = 0x47; #endif } else { #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 30) @@ -790,6 +791,7 @@ #else init_data.get_key = get_key_pinnacle_grey; init_data.ir_codes = ir_codes_pinnacle_grey; + info.addr = 0x47; #endif } break;