projects
/
profile
/
common
/
platform
/
kernel
/
u-boot-artik.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
552e2c6
)
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
Chanho Park
<chanho61.park@samsung.com>
Fri, 24 Jul 2015 07:30:12 +0000
(16:30 +0900)
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 002e425d01539a2fd5744a4355779d005d160bcc..085889b03f6d7a514f018c70c2218d5b9d0a92de 100644
(file)
--- a/
drivers/usb/gadget/composite.c
+++ b/
drivers/usb/gadget/composite.c
@@
-1055,6
+1055,7
@@
static struct usb_gadget_driver composite_driver = {
.unbind = composite_unbind,
.setup = composite_setup,
+ .reset = composite_disconnect,
.disconnect = composite_disconnect,
.suspend = composite_suspend,