d6d79a785d
Pointed out by Oleg Nesterov. Since delayed work is used here, use of flush_scheduled_work() is not sufficient in atkbd_disconnect(). It does not wait for scheduled delayed work to finish. This patch prevents delayed work to be processed after freeing atkbd structure (used struct delayed_work is part of atkbd) by cancelling this delayed work. Signed-off-by: Jiri Pirko <jpirko@redhat.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru> |
||
---|---|---|
.. | ||
aaed2000_kbd.c | ||
amikbd.c | ||
atakbd.c | ||
atkbd.c | ||
bf54x-keys.c | ||
corgikbd.c | ||
gpio_keys.c | ||
hil_kbd.c | ||
hilkbd.c | ||
hpps2atkbd.h | ||
jornada680_kbd.c | ||
jornada720_kbd.c | ||
Kconfig | ||
lkkbd.c | ||
locomokbd.c | ||
Makefile | ||
maple_keyb.c | ||
newtonkbd.c | ||
omap-keypad.c | ||
pxa27x_keypad.c | ||
sh_keysc.c | ||
spitzkbd.c | ||
stowaway.c | ||
sunkbd.c | ||
tosakbd.c | ||
xtkbd.c |