This commit was manufactured by cvs2svn to create tag
[linux-2.6.git] / drivers / usb / input / mtouchusb.c
index 9dcfd7e..ae57138 100644 (file)
@@ -155,7 +155,7 @@ static void mtouchusb_close (struct input_dev *input)
         struct mtouch_usb *mtouch = input->private;
 
         if (!--mtouch->open)
-                usb_kill_urb (mtouch->irq);
+                usb_unlink_urb (mtouch->irq);
 }
 
 static int mtouchusb_alloc_buffers(struct usb_device *udev, struct mtouch_usb *mtouch)
@@ -320,7 +320,7 @@ static void mtouchusb_disconnect(struct usb_interface *intf)
         usb_set_intfdata(intf, NULL);
         if (mtouch) {
                 dbg("%s - mtouch is initialized, cleaning up", __FUNCTION__);
-                usb_kill_urb(mtouch->irq);
+                usb_unlink_urb(mtouch->irq);
                 input_unregister_device(&mtouch->input);
                 usb_free_urb(mtouch->irq);
                 mtouchusb_free_buffers(interface_to_usbdev(intf), mtouch);