projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
04421fe
)
Input: hp_sdc - use del_timer_sync() in exit path
author
Thomas Gleixner
<tglx@linutronix.de>
Mon, 24 Mar 2014 00:23:35 +0000
(17:23 -0700)
committer
Dmitry Torokhov
<dmitry.torokhov@gmail.com>
Mon, 24 Mar 2014 00:25:40 +0000
(17:25 -0700)
Make sure that no callback is running before we teardown the module.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/serio/hp_sdc.c
patch
|
blob
|
history
diff --git
a/drivers/input/serio/hp_sdc.c
b/drivers/input/serio/hp_sdc.c
index d7a7e54f64651227ca893f20ba729b72bb2c6d2d..852858e5d8d08099f28223221edee453257c9c43 100644
(file)
--- a/
drivers/input/serio/hp_sdc.c
+++ b/
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);