ChangeSet 1.1867.3.30, 2004/09/21 10:36:51-07:00, [EMAIL PROTECTED]

[PATCH] USB: remove calls to usb_unlink_urb in input/xpad.c

Signed-off-by: Borislav Petkov <[EMAIL PROTECTED]>
Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>


 drivers/usb/input/xpad.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


diff -Nru a/drivers/usb/input/xpad.c b/drivers/usb/input/xpad.c
--- a/drivers/usb/input/xpad.c  2004-10-19 08:11:55 -07:00
+++ b/drivers/usb/input/xpad.c  2004-10-19 08:11:55 -07:00
@@ -214,7 +214,7 @@
        struct usb_xpad *xpad = dev->private;
        
        if (!--xpad->open_count)
-               usb_unlink_urb(xpad->irq_in);
+               usb_kill_urb(xpad->irq_in);
 }
 
 static int xpad_probe(struct usb_interface *intf, const struct usb_device_id *id)
@@ -325,7 +325,7 @@
        
        usb_set_intfdata(intf, NULL);
        if (xpad) {
-               usb_unlink_urb(xpad->irq_in);
+               usb_kill_urb(xpad->irq_in);
                input_unregister_device(&xpad->dev);
                usb_free_urb(xpad->irq_in);
                usb_buffer_free(interface_to_usbdev(intf), XPAD_PKT_LEN, xpad->idata, 
xpad->idata_dma);



-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to