Thread (2 messages) 2 messages, 2 authors, 2014-03-24

[patch 16/16] input: serio: hp_sdc: Use del_timer_sync() in exit path

flat view
STALE4579d

From: Thomas Gleixner <hidden>
Date: 2014-03-23 15:09:32
Also in: lkml

Make sure that no callback is running before we teardown the module.

Signed-off-by: Thomas Gleixner <redacted>
Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Cc: input <redacted>
---
 drivers/input/serio/hp_sdc.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: tip/drivers/input/serio/hp_sdc.c
===================================================================
--- tip.orig/drivers/input/serio/hp_sdc.c
+++ tip/drivers/input/serio/hp_sdc.c
@@ -984,7 +984,7 @@ static void hp_sdc_exit(void)
 	free_irq(hp_sdc.irq, &hp_sdc);
 	write_unlock_irq(&hp_sdc.lock);
 
-	del_timer(&hp_sdc.kicker);
+	del_timer_sync(&hp_sdc.kicker);
 
 	tasklet_kill(&hp_sdc.task);
 
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help