Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d8a816fc authored by Peter Chen's avatar Peter Chen Committed by Felipe Balbi
Browse files

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: default avatarAlan Stern <stern@rowland.harvard.edu>
Signed-off-by: default avatarPeter Chen <peter.chen@freescale.com>
Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
parent ef979a26
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -2073,6 +2073,7 @@ static const struct usb_gadget_driver composite_driver_template = {
	.unbind		= composite_unbind,
	.unbind		= composite_unbind,


	.setup		= composite_setup,
	.setup		= composite_setup,
	.reset		= composite_disconnect,
	.disconnect	= composite_disconnect,
	.disconnect	= composite_disconnect,


	.suspend	= composite_suspend,
	.suspend	= composite_suspend,