diff options
author | Lukasz Majewski <l.majewski@samsung.com> | 2015-03-03 16:32:07 (GMT) |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2015-04-14 03:48:12 (GMT) |
commit | 6d691732073f79138648fc6e8ad1569f7a2898a6 (patch) | |
tree | 72412e33c21a5c5df7b865bad1bd3e2ba7b1936b /drivers/usb | |
parent | d281730f9c5ca15c294004fd1971752016fe5a34 (diff) | |
download | u-boot-6d691732073f79138648fc6e8ad1569f7a2898a6.tar.xz |
usb: composite: Add .reset callback to usb_gadget_driver structure
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>
Diffstat (limited to 'drivers/usb')
-rw-r--r-- | drivers/usb/gadget/composite.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/gadget/composite.c b/drivers/usb/gadget/composite.c index 729a0fa..d96296c 100644 --- 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, |