diff options
| author | Thomas Gleixner <tglx@linutronix.de> | 2014-03-23 20:23:35 -0400 |
|---|---|---|
| committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2014-03-23 20:25:40 -0400 |
| commit | 5fcd4d2c119309366aad5d8287e1329d9dee02e1 (patch) | |
| tree | 71d005e53f5b8d47b04c02d6a6bc4080eb52d0ce /drivers/input/serio | |
| parent | 04421fe2671c1790ab6529fad87ce8c73af0e1eb (diff) | |
Input: hp_sdc - use del_timer_sync() in exit path
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>
Diffstat (limited to 'drivers/input/serio')
| -rw-r--r-- | drivers/input/serio/hp_sdc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/serio/hp_sdc.c b/drivers/input/serio/hp_sdc.c index d7a7e54f6465..852858e5d8d0 100644 --- a/drivers/input/serio/hp_sdc.c +++ b/drivers/input/serio/hp_sdc.c | |||
| @@ -984,7 +984,7 @@ static void hp_sdc_exit(void) | |||
| 984 | free_irq(hp_sdc.irq, &hp_sdc); | 984 | free_irq(hp_sdc.irq, &hp_sdc); |
| 985 | write_unlock_irq(&hp_sdc.lock); | 985 | write_unlock_irq(&hp_sdc.lock); |
| 986 | 986 | ||
| 987 | del_timer(&hp_sdc.kicker); | 987 | del_timer_sync(&hp_sdc.kicker); |
| 988 | 988 | ||
| 989 | tasklet_kill(&hp_sdc.task); | 989 | tasklet_kill(&hp_sdc.task); |
| 990 | 990 | ||
