From: Peter Chen Date: Tue, 9 Sep 2014 00:56:49 +0000 (+0800) Subject: usb: gadget: composite: add reset API at usb_gadget_driver X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d8a816fc6f6a1d262798dc43d6791c3e93d2d2b5;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git usb: gadget: composite: add reset API at usb_gadget_driver Add reset API at usb_gadget_driver, it calls disconnect handler currently, but may do different things in future. Acked-by: Alan Stern Signed-off-by: Peter Chen Signed-off-by: Felipe Balbi --- diff --git a/drivers/usb/gadget/composite.c b/drivers/usb/gadget/composite.c index 4514e73d9e70..3f3d6f217abe 100644 --- a/drivers/usb/gadget/composite.c +++ b/drivers/usb/gadget/composite.c @@ -2073,6 +2073,7 @@ static const struct usb_gadget_driver composite_driver_template = { .unbind = composite_unbind, .setup = composite_setup, + .reset = composite_disconnect, .disconnect = composite_disconnect, .suspend = composite_suspend,