]> git.baikalelectronics.ru Git - kernel.git/commit
Input: iforce - fix oops on device disconnect
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 25 Dec 2009 06:37:49 +0000 (22:37 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 25 Dec 2009 06:38:11 +0000 (22:38 -0800)
commit6e43e9ca231f90fae65c548ead6be80663d7733a
tree9963828250cc0bbee2a771ee62604f483f047d25
parent17e34ecc0d05998c7b837b29b7054948a612d8cd
Input: iforce - fix oops on device disconnect

Do not try to free iforce device when we closing input device; disconnect
is the only place where it should be deleted.

Reported-by: Johannes Ebke <johannes.ebke@physik.uni-muenchen.de>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/joystick/iforce/iforce-main.c
drivers/input/joystick/iforce/iforce-usb.c
drivers/input/joystick/iforce/iforce.h