Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/external/bsd/drm2/dist/drm Call teardown_timer in drm_vb...



details:   https://anonhg.NetBSD.org/src/rev/ddc32d0e03e2
branches:  trunk
changeset: 330368:ddc32d0e03e2
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sun Jul 06 15:44:55 2014 +0000

description:
Call teardown_timer in drm_vblank_cleanup.

diffstat:

 sys/external/bsd/drm2/dist/drm/drm_irq.c |  3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diffs (13 lines):

diff -r bb4dc397c2f4 -r ddc32d0e03e2 sys/external/bsd/drm2/dist/drm/drm_irq.c
--- a/sys/external/bsd/drm2/dist/drm/drm_irq.c  Sun Jul 06 15:44:25 2014 +0000
+++ b/sys/external/bsd/drm2/dist/drm/drm_irq.c  Sun Jul 06 15:44:55 2014 +0000
@@ -207,6 +207,9 @@
                return;
 
        del_timer_sync(&dev->vblank_disable_timer);
+#ifdef __NetBSD__
+       teardown_timer(&dev->vblank_disable_timer);
+#endif
 
        vblank_disable_fn((unsigned long)dev);
 



Home | Main Index | Thread Index | Old Index