提交 5fcd4d2c 编写于 作者: T Thomas Gleixner 提交者: Dmitry Torokhov

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: NThomas Gleixner <tglx@linutronix.de>
Signed-off-by: NDmitry Torokhov <dmitry.torokhov@gmail.com>
上级 04421fe2
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册