projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.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
|
blame
|
history
diff --git
a/sound/usb/usbmidi.c
b/sound/usb/usbmidi.c
index b7c5e59b22993bd110c4668c9c859392c8c5e7ad..24f5a26c5f0c7fede90c066e01320a1e3674f4bf 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 (ep->in
&& ep->in->urb
)
+ if (ep->in)
usb_kill_urb(ep->in->urb);
}
}