projects
/
GitHub
/
moto-9609
/
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:
ef979a2
)
usb: gadget: composite: add reset API at usb_gadget_driver
author
Peter Chen
<peter.chen@freescale.com>
Tue, 9 Sep 2014 00:56:49 +0000
(08:56 +0800)
committer
Felipe Balbi
<balbi@ti.com>
Tue, 9 Sep 2014 14:58:54 +0000
(09:58 -0500)
Add reset API at usb_gadget_driver, it calls disconnect handler currently,
but may do different things in future.
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Peter Chen <peter.chen@freescale.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/composite.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/usb/gadget/composite.c
b/drivers/usb/gadget/composite.c
index 4514e73d9e7090c33bcbb82da4093598f408a185..3f3d6f217abeca08f589a793ea430feb5bbe1b92 100644
(file)
--- a/
drivers/usb/gadget/composite.c
+++ b/
drivers/usb/gadget/composite.c
@@
-2073,6
+2073,7
@@
static const struct usb_gadget_driver composite_driver_template = {
.unbind = composite_unbind,
.setup = composite_setup,
+ .reset = composite_disconnect,
.disconnect = composite_disconnect,
.suspend = composite_suspend,