projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
47f6ef1
)
greybus: es1: forgot to free our urb on disconnect
author
Greg Kroah-Hartman
<greg@kroah.com>
Tue, 9 Sep 2014 03:11:18 +0000
(20:11 -0700)
committer
Greg Kroah-Hartman
<greg@kroah.com>
Tue, 9 Sep 2014 03:11:18 +0000
(20:11 -0700)
drivers/staging/greybus/es1-ap-usb.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/staging/greybus/es1-ap-usb.c
b/drivers/staging/greybus/es1-ap-usb.c
index da352348816539ad603d286e30dfe4c3db20fffa..767981a248c832bb3e4fdc84cb73325843db25ef 100644
(file)
--- a/
drivers/staging/greybus/es1-ap-usb.c
+++ b/
drivers/staging/greybus/es1-ap-usb.c
@@
-441,6
+441,7
@@
static void ap_disconnect(struct usb_interface *interface)
/* Tear down everything! */
usb_kill_urb(es1->svc_urb);
+ usb_free_urb(es1->svc_urb);
usb_put_dev(es1->usb_dev);
kfree(es1->svc_buffer);
greybus_remove_hd(es1->hd);