diff options
author | Peter Chen | 2014-09-09 08:56:49 +0800 |
---|---|---|
committer | Felipe Balbi | 2014-09-09 09:58:54 -0500 |
commit | d8a816fc6f6a1d262798dc43d6791c3e93d2d2b5 (patch) | |
tree | f0f6d0a28f7c184a926c505742232cadd1bb4449 /drivers/usb | |
parent | ef979a26e3d521d51dbd9950e46a69e303073171 (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')
-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 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, |