diff options
author | Peter Chen <peter.chen@freescale.com> | 2014-09-09 08:56:51 +0800 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2014-09-09 10:00:06 -0500 |
commit | 0eba4550fc642f4a51d76bf20d2b8104ec81d8e5 (patch) | |
tree | fe02e0682fddd9b89cecd60d88fa5bf1bbb0564b /drivers/usb/gadget | |
parent | 02f751b43f6766da4382bed322926eb99d56f516 (diff) | |
download | linux-0eba4550fc642f4a51d76bf20d2b8104ec81d8e5.tar.bz2 |
usb: gadget: gadgetfs: 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/legacy/inode.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/gadget/legacy/inode.c b/drivers/usb/gadget/legacy/inode.c index e96077b8bf79..edefec2cc584 100644 --- a/drivers/usb/gadget/legacy/inode.c +++ b/drivers/usb/gadget/legacy/inode.c @@ -1775,6 +1775,7 @@ static struct usb_gadget_driver gadgetfs_driver = { .bind = gadgetfs_bind, .unbind = gadgetfs_unbind, .setup = gadgetfs_setup, + .reset = gadgetfs_disconnect, .disconnect = gadgetfs_disconnect, .suspend = gadgetfs_suspend, |