diff options
author | Peter Chen <peter.chen@freescale.com> | 2014-09-09 08:56:49 +0800 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2014-09-09 09:58:54 -0500 |
commit | d8a816fc6f6a1d262798dc43d6791c3e93d2d2b5 (patch) | |
tree | f0f6d0a28f7c184a926c505742232cadd1bb4449 /drivers/usb/gadget/composite.c | |
parent | ef979a26e3d521d51dbd9950e46a69e303073171 (diff) | |
download | talos-obmc-linux-d8a816fc6f6a1d262798dc43d6791c3e93d2d2b5.tar.gz talos-obmc-linux-d8a816fc6f6a1d262798dc43d6791c3e93d2d2b5.zip |
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/composite.c')
-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, |