From: Peter Chen Date: Tue, 9 Sep 2014 00:56:52 +0000 (+0800) Subject: usb: gadget: dbgp: add reset API at usb_gadget_driver X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=e45cfa2051d1b7d3378887d9576e11484e25c7d6;p=linux-beck.git 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 Signed-off-by: Peter Chen Signed-off-by: Felipe Balbi --- 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,