From patchwork Wed May 25 09:56:56 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dan Carpenter X-Patchwork-Id: 815512 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p4P9vSAE017961 for ; Wed, 25 May 2011 09:57:48 GMT Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id BD8989E9DB for ; Wed, 25 May 2011 02:57:27 -0700 (PDT) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wy0-f177.google.com (mail-wy0-f177.google.com [74.125.82.177]) by gabe.freedesktop.org (Postfix) with ESMTP id 572179E97C for ; Wed, 25 May 2011 02:57:19 -0700 (PDT) Received: by wyb28 with SMTP id 28so7141014wyb.36 for ; Wed, 25 May 2011 02:57:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:date:from:to:cc:subject:message-id:mime-version :content-type:content-disposition:user-agent; bh=Mj1uMbMCdYUGX32v077m0dyNqp25+uUONm1z0kL+N+0=; b=rPrYmc4Q48PhlpApjAqOMugPe8JnOm+IfUJszdCiMS2ZvYuV20jbBGAF1ZUAYhmBiS f3jTgdtQEpWjKdxwfajS82PARGl4E5VE9FpUn0UHkp2tetwzMNZGcXHN8SVj+ZJxhNny 89LQWy1hFkj/TrviI0OnFc0fLIAps61Lp6H4Q= 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=br/KEYJULKZje6QTMLYHB/hM+9KhyGs5QkvtVXUDQdUjp0cxGZeIxYThyrUwmHKz/U Tx/anJUziiJNrJv7J7JprdaTUkzRysAH3l1PnpWqpup/Ri3iwTOIeOV3SG8VdHWUWD0g 6N84VB9SOjji6UuOqKmMUz/C9GDzbak0R/SMo= Received: by 10.216.136.89 with SMTP id v67mr4423186wei.13.1306317438290; Wed, 25 May 2011 02:57:18 -0700 (PDT) Received: from shale.localdomain ([212.49.88.34]) by mx.google.com with ESMTPS id k58sm196054wed.5.2011.05.25.02.57.13 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 25 May 2011 02:57:17 -0700 (PDT) Date: Wed, 25 May 2011 12:56:56 +0300 From: Dan Carpenter To: Keith Packard Subject: [patch] drm/i915: fix if statement in ivybridge irq handler Message-ID: <20110525095656.GC1358@shale.localdomain> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) Cc: kernel-janitors@vger.kernel.org, dri-devel@lists.freedesktop.org X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+patchwork-dri-devel=patchwork.kernel.org@lists.freedesktop.org Errors-To: dri-devel-bounces+patchwork-dri-devel=patchwork.kernel.org@lists.freedesktop.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Wed, 25 May 2011 09:57:48 +0000 (UTC) The extra semicolon was not intended. Signed-off-by: Dan Carpenter diff --git a/drivers/gpu/drm/i915/i915_irq.c b/drivers/gpu/drm/i915/i915_irq.c index b79619a..b9fafe3 100644 --- a/drivers/gpu/drm/i915/i915_irq.c +++ b/drivers/gpu/drm/i915/i915_irq.c @@ -517,7 +517,7 @@ irqreturn_t ivybridge_irq_handler(DRM_IRQ_ARGS) if (de_iir & DE_PIPEA_VBLANK_IVB) drm_handle_vblank(dev, 0); - if (de_iir & DE_PIPEB_VBLANK_IVB); + if (de_iir & DE_PIPEB_VBLANK_IVB) drm_handle_vblank(dev, 1); /* check event from PCH */