ChangeSet 1.1867.3.38, 2004/09/21 10:40:39-07:00, [EMAIL PROTECTED]

[PATCH] USB: usb_unlink_urb removal from input/aiptek.c

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


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


diff -Nru a/drivers/usb/input/aiptek.c b/drivers/usb/input/aiptek.c
--- a/drivers/usb/input/aiptek.c        2004-10-19 08:11:14 -07:00
+++ b/drivers/usb/input/aiptek.c        2004-10-19 08:11:14 -07:00
@@ -837,7 +837,7 @@
        struct aiptek *aiptek = inputdev->private;
 
        if (--aiptek->openCount == 0) {
-               usb_unlink_urb(aiptek->urb);
+               usb_kill_urb(aiptek->urb);
        }
 }
 
@@ -2258,7 +2258,7 @@
        if (aiptek != NULL) {
                /* Free & unhook everything from the system.
                 */
-               usb_unlink_urb(aiptek->urb);
+               usb_kill_urb(aiptek->urb);
                input_unregister_device(&aiptek->inputdev);
                aiptek_delete_files(&intf->dev);
                usb_free_urb(aiptek->urb);



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