]> git.baikalelectronics.ru Git - kernel.git/commit
Input: hil-mlc - use del_timer_sync() when unloading the driver
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Sat, 12 Dec 2009 05:39:51 +0000 (21:39 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sat, 12 Dec 2009 07:45:25 +0000 (23:45 -0800)
commit12fd7395b846db08a594245f4e24a83037f9de7a
tree9189d2dbe80c4dec85578551d7e4bc6bdb9b027d
parentacfb7f061eeeb0f9126e934e6fee64bd28c60ebb
Input: hil-mlc - use del_timer_sync() when unloading the driver

del_timer() does not wait for the timer to finish running before returning
and therefore is technically not safe. Also make sure to enable tasklet
before kicking timer that will schedule it.

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/serio/hil_mlc.c