drm: Remove two leaks of vblank reference count in error paths.
authorEric Anholt <eric@anholt.net>
Fri, 17 Oct 2008 18:03:53 +0000 (11:03 -0700)
committerDave Airlie <airlied@redhat.com>
Thu, 23 Oct 2008 03:42:27 +0000 (13:42 +1000)
commit35ad68c18148a18938ff4f40e945c9734e7d2265
tree012e373dd3f252f5e6b015ca3eea461826f58b27
parent786225eb2f4e55b5dda3cf8c62a145e824aae199
drm: Remove two leaks of vblank reference count in error paths.

If the failing paths were hit, the vblank IRQ would never get turned off
again.

Signed-off-by: Eric Anholt <eric@anholt.net>
Acked-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_irq.c
drivers/gpu/drm/i915/i915_irq.c