aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget
diff options
context:
space:
mode:
authorPeter Chen <peter.chen@freescale.com>2014-09-08 20:56:49 -0400
committerFelipe Balbi <balbi@ti.com>2014-09-09 10:58:54 -0400
commitd8a816fc6f6a1d262798dc43d6791c3e93d2d2b5 (patch)
treef0f6d0a28f7c184a926c505742232cadd1bb4449 /drivers/usb/gadget
parentef979a26e3d521d51dbd9950e46a69e303073171 (diff)
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 <stern@rowland.harvard.edu> Signed-off-by: Peter Chen <peter.chen@freescale.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/gadget')
-rw-r--r--drivers/usb/gadget/composite.c1
1 files changed, 1 insertions, 0 deletions
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 = {
2073 .unbind = composite_unbind, 2073 .unbind = composite_unbind,
2074 2074
2075 .setup = composite_setup, 2075 .setup = composite_setup,
2076 .reset = composite_disconnect,
2076 .disconnect = composite_disconnect, 2077 .disconnect = composite_disconnect,
2077 2078
2078 .suspend = composite_suspend, 2079 .suspend = composite_suspend,