diff options
-rw-r--r-- | drivers/input/touchscreen/usbtouchscreen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/touchscreen/usbtouchscreen.c b/drivers/input/touchscreen/usbtouchscreen.c index 68ece5801a58..eddb628c5459 100644 --- a/drivers/input/touchscreen/usbtouchscreen.c +++ b/drivers/input/touchscreen/usbtouchscreen.c | |||
@@ -1087,7 +1087,7 @@ static void usbtouch_disconnect(struct usb_interface *intf) | |||
1087 | 1087 | ||
1088 | dbg("%s - usbtouch is initialized, cleaning up", __func__); | 1088 | dbg("%s - usbtouch is initialized, cleaning up", __func__); |
1089 | usb_set_intfdata(intf, NULL); | 1089 | usb_set_intfdata(intf, NULL); |
1090 | usb_kill_urb(usbtouch->irq); | 1090 | /* this will stop IO via close */ |
1091 | input_unregister_device(usbtouch->input); | 1091 | input_unregister_device(usbtouch->input); |
1092 | usb_free_urb(usbtouch->irq); | 1092 | usb_free_urb(usbtouch->irq); |
1093 | usbtouch_free_buffers(interface_to_usbdev(intf), usbtouch); | 1093 | usbtouch_free_buffers(interface_to_usbdev(intf), usbtouch); |