diff options
author | Kristian Høgsberg <krh@redhat.com> | 2008-02-21 15:31:48 -0500 |
---|---|---|
committer | Kristian Høgsberg <krh@redhat.com> | 2008-02-21 15:31:48 -0500 |
commit | 32c67922b722e375268789600cd89b80749e7a71 (patch) | |
tree | 35e81030311fae24ff26e21d383135cdcd62c7ec /linux-core | |
parent | 374b41e5bcdb5c22471c8c16dd794ac54c4f76d2 (diff) |
Don't free irq resources until after we've unregistered the handler.
Diffstat (limited to 'linux-core')
-rw-r--r-- | linux-core/drm_irq.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/linux-core/drm_irq.c b/linux-core/drm_irq.c index 1a035657..592ea2ad 100644 --- a/linux-core/drm_irq.c +++ b/linux-core/drm_irq.c @@ -273,10 +273,10 @@ int drm_irq_uninstall(struct drm_device * dev) dev->driver->irq_uninstall(dev); - drm_vblank_cleanup(dev); - free_irq(dev->irq, dev); + drm_vblank_cleanup(dev); + dev->locked_tasklet_func = NULL; return 0; |