usb: gadget: composite: add reset API at usb_gadget_driver
authorPeter Chen <peter.chen@freescale.com>
Tue, 9 Sep 2014 00:56:49 +0000 (08:56 +0800)
committerFelipe Balbi <balbi@ti.com>
Tue, 9 Sep 2014 14:58:54 +0000 (09:58 -0500)
commitd8a816fc6f6a1d262798dc43d6791c3e93d2d2b5
treef0f6d0a28f7c184a926c505742232cadd1bb4449
parentef979a26e3d521d51dbd9950e46a69e303073171
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>
drivers/usb/gadget/composite.c