drm/i915: unload: don't leak error state
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 20 Aug 2010 19:25:11 +0000 (21:25 +0200)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 8 Sep 2010 09:13:25 +0000 (10:13 +0100)
commita8b4899e4658e53c0c8f4206af105e358e39ee93
tree73235905364a2202311ed50ae05fd21d9c88db17
parent6c0d93500eb50098e4e35b8b79e073f2f2f5b773
drm/i915: unload: don't leak error state

With kms, interrupts now get disabled in the modesetting cleanup. So
free the error state afterwards, it currently gets allocated in
the interrupt handler.

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/i915_dma.c