diff options
author | Peter Chen <peter.chen@freescale.com> | 2014-09-09 00:56:50 (GMT) |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2014-09-09 14:59:50 (GMT) |
commit | 02f751b43f6766da4382bed322926eb99d56f516 (patch) | |
tree | b88d25960f12653746d57069189a1d20a056669f /drivers/usb/gadget | |
parent | d8a816fc6f6a1d262798dc43d6791c3e93d2d2b5 (diff) | |
download | linux-02f751b43f6766da4382bed322926eb99d56f516.tar.xz |
usb: gadget: configfs: 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/configfs.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/gadget/configfs.c b/drivers/usb/gadget/configfs.c index 811c2c7..3403433 100644 --- a/drivers/usb/gadget/configfs.c +++ b/drivers/usb/gadget/configfs.c @@ -1450,6 +1450,7 @@ static const struct usb_gadget_driver configfs_driver_template = { .unbind = configfs_composite_unbind, .setup = composite_setup, + .reset = composite_disconnect, .disconnect = composite_disconnect, .max_speed = USB_SPEED_SUPER, |