projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d281730
)
usb: composite: Add .reset callback to usb_gadget_driver structure
author
Lukasz Majewski
<l.majewski@samsung.com>
Tue, 3 Mar 2015 16:32:07 +0000
(17:32 +0100)
committer
Marek Vasut
<marex@denx.de>
Tue, 14 Apr 2015 03:48:12 +0000
(
05:48
+0200)
DWC3 UDC driver requires presence of .reset callback in a composite driver.
This setting is similar to the one nowadays present in linux kernel.
Signed-off-by: Lukasz Majewski <l.majewski@samsung.com>
drivers/usb/gadget/composite.c
patch
|
blob
|
history
diff --git
a/drivers/usb/gadget/composite.c
b/drivers/usb/gadget/composite.c
index 729a0fa94448d7ab7ae16b0b32b9d0f044f08694..d96296cd73b1f57815413afcc46e33f0e38390a0 100644
(file)
--- a/
drivers/usb/gadget/composite.c
+++ b/
drivers/usb/gadget/composite.c
@@
-1052,6
+1052,7
@@
static struct usb_gadget_driver composite_driver = {
.unbind = composite_unbind,
.setup = composite_setup,
+ .reset = composite_disconnect,
.disconnect = composite_disconnect,
.suspend = composite_suspend,