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:
d8a816f
)
usb: gadget: configfs: add reset API at usb_gadget_driver
author
Peter Chen
<peter.chen@freescale.com>
Tue, 9 Sep 2014 00:56:50 +0000
(08:56 +0800)
committer
Felipe Balbi
<balbi@ti.com>
Tue, 9 Sep 2014 14:59:50 +0000
(09:59 -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/configfs.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/usb/gadget/configfs.c
b/drivers/usb/gadget/configfs.c
index 811c2c7cc2694303ca40bcad14054d8599a1be93..34034333f7f61ee50ea262c1d4440374c42bfacd 100644
(file)
--- a/
drivers/usb/gadget/configfs.c
+++ b/
drivers/usb/gadget/configfs.c
@@
-1450,6
+1450,7
@@
static const struct usb_gadget_driver configfs_driver_template = {
.unbind = configfs_composite_unbind,
.setup = composite_setup,
+ .reset = composite_disconnect,
.disconnect = composite_disconnect,
.max_speed = USB_SPEED_SUPER,