From 6d691732073f79138648fc6e8ad1569f7a2898a6 Mon Sep 17 00:00:00 2001 From: Lukasz Majewski Date: Tue, 3 Mar 2015 17:32:07 +0100 Subject: [PATCH] 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 --- drivers/usb/gadget/composite.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/usb/gadget/composite.c b/drivers/usb/gadget/composite.c index 729a0fa944..d96296cd73 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, -- 2.25.1