OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
bcb54a5
)
usb: usbmidi kill urb cleanup
author
Mariusz Kozlowski
<m.kozlowski@tuxland.pl>
Wed, 8 Nov 2006 14:37:00 +0000
(15:37 +0100)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Fri, 1 Dec 2006 22:23:35 +0000
(14:23 -0800)
- usb_kill_urb() cleanup
Signed-off-by: Mariusz Kozlowski <m.kozlowski@tuxland.pl>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
sound/usb/usbmidi.c
patch
|
blob
|
history
diff --git
a/sound/usb/usbmidi.c
b/sound/usb/usbmidi.c
index
b7c5e59
..
24f5a26
100644
(file)
--- a/
sound/usb/usbmidi.c
+++ b/
sound/usb/usbmidi.c
@@
-981,7
+981,7
@@
void snd_usbmidi_disconnect(struct list_head* p)
if (umidi->usb_protocol_ops->finish_out_endpoint)
umidi->usb_protocol_ops->finish_out_endpoint(ep->out);
}
if (umidi->usb_protocol_ops->finish_out_endpoint)
umidi->usb_protocol_ops->finish_out_endpoint(ep->out);
}
- if (ep->in
&& ep->in->urb
)
+ if (ep->in)
usb_kill_urb(ep->in->urb);
}
}
usb_kill_urb(ep->in->urb);
}
}