From patchwork Tue May 4 11:37:33 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dan Carpenter X-Patchwork-Id: 96718 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 o44BbiHK017693 for ; Tue, 4 May 2010 11:37:44 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757184Ab0EDLhn (ORCPT ); Tue, 4 May 2010 07:37:43 -0400 Received: from mail-fx0-f46.google.com ([209.85.161.46]:58283 "EHLO mail-fx0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751944Ab0EDLhm (ORCPT ); Tue, 4 May 2010 07:37:42 -0400 Received: by fxm10 with SMTP id 10so3100733fxm.19 for ; Tue, 04 May 2010 04:37:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:cc:subject :message-id:mime-version:content-type:content-disposition:user-agent; bh=IWdTbQm0Z7TYXfz0Rs3G0pA42CjCpDUL4bkYB/9hGeg=; b=E5ZCiSc8DslgBMD1Vv8yiFPRDuGdw3Xm3WvHhjFo+EzKfTXsECgkFPQRl9avvOp15F kDv1tYtaa5bweH0AJjSXAezFq4e9KaUaTjkolMzj/ozxXKp4ypsFhzG++8Hyhmw7pqQa gGfFW1ap+uVOWnwo5/YnmdypGI0nUxMAmc47E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:mime-version:content-type :content-disposition:user-agent; b=kOW1D4dlHfxhPdiTQQCHFjT5pDmzFlqiRMriUq3pFUWYr2Bz0ezPbwNfbnufKQhHMd dFOORziQ5E3g8td2NBjvrBzQ9qlkf0Xl+wrTL8hv/Z2HVe2bpJ9u21HiwA0viyZwcY1T /5BqUdiibeAycrj6B34CNOenbISf2TU0xwxug= Received: by 10.223.29.135 with SMTP id q7mr4071034fac.30.1272973061055; Tue, 04 May 2010 04:37:41 -0700 (PDT) Received: from bicker ([205.177.176.130]) by mx.google.com with ESMTPS id y15sm11075470fkd.38.2010.05.04.04.37.37 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 04 May 2010 04:37:40 -0700 (PDT) Date: Tue, 4 May 2010 13:37:33 +0200 From: Dan Carpenter To: Mauro Carvalho Chehab Cc: Jarod Wilson , linux-media@vger.kernel.org Subject: [patch -next 1/3] media/IR/imon: precendence issue: ! vs == Message-ID: <20100504113733.GU29093@bicker> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.18 (2008-05-17) 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]); Tue, 04 May 2010 11:37:44 +0000 (UTC) diff --git a/drivers/media/IR/imon.c b/drivers/media/IR/imon.c index b65c31a..93b5796 100644 --- a/drivers/media/IR/imon.c +++ b/drivers/media/IR/imon.c @@ -975,7 +975,7 @@ static void imon_touch_display_timeout(unsigned long data) { struct imon_context *ictx = (struct imon_context *)data; - if (!ictx->display_type == IMON_DISPLAY_TYPE_VGA) + if (ictx->display_type != IMON_DISPLAY_TYPE_VGA) return; input_report_abs(ictx->touch, ABS_X, ictx->touch_x);