drm/i915: fix if statement in ivybridge irq handler
authorDan Carpenter <error27@gmail.com>
Wed, 25 May 2011 09:56:56 +0000 (12:56 +0300)
committerKeith Packard <keithp@keithp.com>
Sat, 4 Jun 2011 17:40:17 +0000 (10:40 -0700)
The extra semicolon was not intended.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Reviewed-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Keith Packard <keithp@keithp.com>
drivers/gpu/drm/i915/i915_irq.c

index b79619a7b78880f9823ba87de0ec888608630515..b9fafe3b045bda5817047f2a5cde8a6fc1b58265 100644 (file)
@@ -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 */