From patchwork Sat Jan 30 10:56:32 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jean Delvare X-Patchwork-Id: 75883 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o0UAubPA013577 for ; Sat, 30 Jan 2010 10:56:38 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751928Ab0A3K4g (ORCPT ); Sat, 30 Jan 2010 05:56:36 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751684Ab0A3K4g (ORCPT ); Sat, 30 Jan 2010 05:56:36 -0500 Received: from bamako.nerim.net ([62.4.17.28]:55322 "EHLO bamako.nerim.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750755Ab0A3K4f (ORCPT ); Sat, 30 Jan 2010 05:56:35 -0500 Received: from localhost (localhost [127.0.0.1]) by bamako.nerim.net (Postfix) with ESMTP id 86FFB39DE78; Sat, 30 Jan 2010 11:56:32 +0100 (CET) X-Virus-Scanned: amavisd-new at nerim.net Received: from bamako.nerim.net ([127.0.0.1]) by localhost (bamako.nerim.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GtcMISJsE2pF; Sat, 30 Jan 2010 11:56:31 +0100 (CET) Received: from hyperion.delvare (jdelvare.pck.nerim.net [62.212.121.182]) by bamako.nerim.net (Postfix) with ESMTP id 02A7339DC7C; Sat, 30 Jan 2010 11:56:30 +0100 (CET) Date: Sat, 30 Jan 2010 11:56:32 +0100 From: Jean Delvare To: hermann pitton Cc: Mauro Carvalho Chehab , LMML , Daro , Roman Kellner Subject: Re: [PATCH] saa7134: Fix IR support of some ASUS TV-FM 7135 variants Message-ID: <20100130115632.03da7e1b@hyperion.delvare> In-Reply-To: <1264812461.16350.90.camel@localhost> References: <20100127120211.2d022375@hyperion.delvare> <4B630179.3080006@redhat.com> <1264812461.16350.90.camel@localhost> X-Mailer: Claws Mail 3.5.0 (GTK+ 2.14.4; i586-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 X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Sat, 30 Jan 2010 10:56:38 +0000 (UTC) --- v4l-dvb.orig/linux/drivers/media/video/saa7134/saa7134-cards.c 2010-01-30 10:56:50.000000000 +0100 +++ v4l-dvb/linux/drivers/media/video/saa7134/saa7134-cards.c 2010-01-30 11:52:18.000000000 +0100 @@ -7299,6 +7299,11 @@ int saa7134_board_init2(struct saa7134_d printk(KERN_INFO "%s: P7131 analog only, using " "entry of %s\n", dev->name, saa7134_boards[dev->board].name); + + /* IR init has already happened for other cards, so + * we have to catch up. */ + dev->has_remote = SAA7134_REMOTE_GPIO; + saa7134_input_init1(dev); } break; case SAA7134_BOARD_HAUPPAUGE_HVR1150: