mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-20 11:13:58 +08:00
cd7a9202a5
On Thu, Mar 30, 2006 at 08:31:02AM -0500, Dmitry Torokhov wrote: > Don't do that, its double free. input_unregister_device() normally > causes release() to be called and free the device. input_free_device > is only to be called when input_register_device has not been called or > failed. > > Plus you might want to unregister device after closing serio port, > otherwise your interrupt routine might be referencing already freed > memory. Signed-off-by: Kyle McMartin <kyle@parisc-linux.org> |
||
---|---|---|
.. | ||
amikbd.c | ||
atkbd.c | ||
corgikbd.c | ||
hil_kbd.c | ||
hilkbd.c | ||
hpps2atkbd.h | ||
Kconfig | ||
lkkbd.c | ||
locomokbd.c | ||
Makefile | ||
maple_keyb.c | ||
newtonkbd.c | ||
spitzkbd.c | ||
sunkbd.c | ||
xtkbd.c |