Commit 6d691732 authored by Lukasz Majewski's avatar Lukasz Majewski Committed by Marek Vasut
Browse files

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: default avatarLukasz Majewski <>
parent d281730f
...@@ -1052,6 +1052,7 @@ static struct usb_gadget_driver composite_driver = { ...@@ -1052,6 +1052,7 @@ static struct usb_gadget_driver composite_driver = {
.unbind = composite_unbind, .unbind = composite_unbind,
.setup = composite_setup, .setup = composite_setup,
.reset = composite_disconnect,
.disconnect = composite_disconnect, .disconnect = composite_disconnect,
.suspend = composite_suspend, .suspend = composite_suspend,
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment