diff options
author | Peter Chen <peter.chen@freescale.com> | 2014-09-09 08:56:52 +0800 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2014-09-09 10:00:15 -0500 |
commit | e45cfa2051d1b7d3378887d9576e11484e25c7d6 (patch) | |
tree | 618d1e09448c0451a620314f8046c89dbe2ded94 /drivers/usb/gadget | |
parent | 0eba4550fc642f4a51d76bf20d2b8104ec81d8e5 (diff) | |
download | linux-e45cfa2051d1b7d3378887d9576e11484e25c7d6.tar.bz2 |
usb: gadget: dbgp: 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/dbgp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/gadget/legacy/dbgp.c b/drivers/usb/gadget/legacy/dbgp.c index 225e385a6160..1b075132f8f1 100644 --- a/drivers/usb/gadget/legacy/dbgp.c +++ b/drivers/usb/gadget/legacy/dbgp.c @@ -410,6 +410,7 @@ static __refdata struct usb_gadget_driver dbgp_driver = { .bind = dbgp_bind, .unbind = dbgp_unbind, .setup = dbgp_setup, + .reset = dbgp_disconnect, .disconnect = dbgp_disconnect, .driver = { .owner = THIS_MODULE, |