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:
0eba455
)
usb: gadget: dbgp: add reset API at usb_gadget_driver
author
Peter Chen
<peter.chen@freescale.com>
Tue, 9 Sep 2014 00:56:52 +0000
(08:56 +0800)
committer
Felipe Balbi
<balbi@ti.com>
Tue, 9 Sep 2014 15:00:15 +0000
(10:00 -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/legacy/dbgp.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/usb/gadget/legacy/dbgp.c
b/drivers/usb/gadget/legacy/dbgp.c
index 225e385a616009747a42b5117769e316c7638fc6..1b075132f8f193f359a97cc66cc795304aa7f819 100644
(file)
--- a/
drivers/usb/gadget/legacy/dbgp.c
+++ b/
drivers/usb/gadget/legacy/dbgp.c
@@
-410,6
+410,7
@@
static __refdata struct usb_gadget_driver dbgp_driver = {
.bind = dbgp_bind,
.unbind = dbgp_unbind,
.setup = dbgp_setup,
+ .reset = dbgp_disconnect,
.disconnect = dbgp_disconnect,
.driver = {
.owner = THIS_MODULE,