Input: iforce - wait for command completion when closing the device
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 30 Dec 2009 20:18:24 +0000 (12:18 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 30 Dec 2009 20:19:38 +0000 (12:19 -0800)
commitc2b27ef672992a206e5b221b8676972dd840ffa5
treedb7123379c12cda9659929b4c6e4897e088e9545
parent70f944139084c4f297ac90b3af4cb67a8a68b2cf
Input: iforce - wait for command completion when closing the device

We need to wait for the command to disable FF effects to complete before
continuing with closing the device.

Tested-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