summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2008-06-24 09:46:51 -0700
committerKeith Packard <keithp@keithp.com>2008-06-24 09:46:51 -0700
commit01a33d742cee55a3df66a3d29c9c55b10cc9221d (patch)
tree46ac4f68e0d7f428eb7085dd936611857428386e
parent472981a4a952e551a581e5296a575a51d4f02e3d (diff)
Was using irq_enable_reg in the use_mask_reg path
-rw-r--r--shared-core/i915_irq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shared-core/i915_irq.c b/shared-core/i915_irq.c
index 23edddb1..f9fed87e 100644
--- a/shared-core/i915_irq.c
+++ b/shared-core/i915_irq.c
@@ -62,7 +62,7 @@ static inline void
i915_disable_irq(drm_i915_private_t *dev_priv, uint32_t mask)
{
if (dev_priv->irq_use_mask) {
- if ((dev_priv->irq_enable_reg & mask) != mask) {
+ if ((dev_priv->irq_mask_reg & mask) != mask) {
dev_priv->irq_mask_reg |= mask;
I915_WRITE(I915REG_INT_MASK_R, dev_priv->irq_mask_reg);
(void) I915_READ(I915REG_INT_MASK_R);