From: Ben Skeggs Date: Thu, 11 Nov 2010 03:59:05 +0000 (+1000) Subject: drm/nv04-nv40: unregister irq handler on destroy X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e4cbadcaaa4678020e37ca93502942ffdf9aef80;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git drm/nv04-nv40: unregister irq handler on destroy Signed-off-by: Ben Skeggs --- diff --git a/drivers/gpu/drm/nouveau/nv04_display.c b/drivers/gpu/drm/nouveau/nv04_display.c index 0978a5b326dc..1715e1464b7d 100644 --- a/drivers/gpu/drm/nouveau/nv04_display.c +++ b/drivers/gpu/drm/nouveau/nv04_display.c @@ -213,6 +213,9 @@ nv04_display_destroy(struct drm_device *dev) NV_DEBUG_KMS(dev, "\n"); + nouveau_irq_unregister(dev, 24); + nouveau_irq_unregister(dev, 25); + /* Turn every CRTC off. */ list_for_each_entry(crtc, &dev->mode_config.crtc_list, head) { struct drm_mode_set modeset = {