diff --git a/drivers/input/joystick/iforce/iforce-usb.c b/drivers/input/joystick/iforce/iforce-usb.c index ea58805c480f..2717e35c79a3 100644 --- a/drivers/input/joystick/iforce/iforce-usb.c +++ b/drivers/input/joystick/iforce/iforce-usb.c @@ -258,6 +258,9 @@ static void iforce_usb_disconnect(struct usb_interface *intf) usb_set_intfdata(intf, NULL); + clear_bit(IFORCE_XMIT_RUNNING, iforce_usb->iforce.xmit_flags); + wake_up(&iforce_usb->iforce.wait); + input_unregister_device(iforce_usb->iforce.dev); usb_free_urb(iforce_usb->irq);