Don't free irq resources until after we've unregistered the handler.
parent
374b41e5bc
commit
32c67922b7
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue