Don't free irq resources until after we've unregistered the handler.

main
Kristian Høgsberg 2008-02-21 15:31:48 -05:00
parent 374b41e5bc
commit 32c67922b7
1 changed files with 2 additions and 2 deletions

View File

@ -273,10 +273,10 @@ int drm_irq_uninstall(struct drm_device * dev)
dev->driver->irq_uninstall(dev); dev->driver->irq_uninstall(dev);
drm_vblank_cleanup(dev);
free_irq(dev->irq, dev); free_irq(dev->irq, dev);
drm_vblank_cleanup(dev);
dev->locked_tasklet_func = NULL; dev->locked_tasklet_func = NULL;
return 0; return 0;