From patchwork Sat Oct 23 19:43:29 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jarod Wilson X-Patchwork-Id: 4709 Return-path: Envelope-to: mchehab@pedra Delivery-date: Sat, 23 Oct 2010 22:00:29 -0200 Received: from mchehab by pedra with local (Exim 4.72) (envelope-from ) id 1P9o0j-0000sp-53 for mchehab@pedra; Sat, 23 Oct 2010 22:00:29 -0200 Received: from casper.infradead.org [85.118.1.10] by pedra with IMAP (fetchmail-6.3.17) for (single-drop); Sat, 23 Oct 2010 22:00:29 -0200 (BRST) Received: from vger.kernel.org ([209.132.180.67]) by casper.infradead.org with esmtp (Exim 4.72 #1 (Red Hat Linux)) id 1P9kb8-0000EJ-FF; Sat, 23 Oct 2010 20:21:50 +0000 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932296Ab0JWTnb (ORCPT + 1 other); Sat, 23 Oct 2010 15:43:31 -0400 Received: from mx1.redhat.com ([209.132.183.28]:30466 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932226Ab0JWTna (ORCPT ); Sat, 23 Oct 2010 15:43:30 -0400 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o9NJhUvG020891 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Sat, 23 Oct 2010 15:43:30 -0400 Received: from xavier.bos.redhat.com (xavier.bos.redhat.com [10.16.16.50]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o9NJhUZ8026924 for ; Sat, 23 Oct 2010 15:43:30 -0400 Received: by xavier.bos.redhat.com (Postfix, from userid 500) id CD27681670; Sat, 23 Oct 2010 15:43:29 -0400 (EDT) Date: Sat, 23 Oct 2010 15:43:29 -0400 From: Jarod Wilson To: linux-media@vger.kernel.org Subject: [PATCH 3/3] imon: fix nomouse modprobe option Message-ID: <20101023194329.GE4825@redhat.com> References: <20101023194107.GB4825@redhat.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20101023194107.GB4825@redhat.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-Scanned-By: MIMEDefang 2.67 on 10.5.11.12 Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org Sender: Pointed out by Bonne Eggleston on the lirc list. Signed-off-by: Jarod Wilson --- drivers/media/IR/imon.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/media/IR/imon.c b/drivers/media/IR/imon.c index b4d489d..f782a9d 100644 --- a/drivers/media/IR/imon.c +++ b/drivers/media/IR/imon.c @@ -1004,7 +1004,7 @@ int imon_ir_change_protocol(void *priv, u64 ir_type) case IR_TYPE_UNKNOWN: case IR_TYPE_OTHER: dev_dbg(dev, "Configuring IR receiver for iMON protocol\n"); - if (pad_stabilize) + if (pad_stabilize && !nomouse) pad_mouse = true; else { dev_dbg(dev, "PAD stabilize functionality disabled\n"); @@ -1016,7 +1016,7 @@ int imon_ir_change_protocol(void *priv, u64 ir_type) default: dev_warn(dev, "Unsupported IR protocol specified, overriding " "to iMON IR protocol\n"); - if (pad_stabilize) + if (pad_stabilize && !nomouse) pad_mouse = true; else { dev_dbg(dev, "PAD stabilize functionality disabled\n");