/* If the udc driver has bus reset handler, it needs to call this when the bus reset occurs, it notifies the gadget driver that the bus reset occurs as well as updates gadget state.  */
void usb_gadget_udc_reset(struct usb_gadget *gadget, struct usb_gadget_driver *driver)
/* If the udc driver has bus reset handler, it needs to call this when the bus reset occurs, it notifies the gadget driver that the bus reset occurs as well as updates gadget state.  */
void usb_gadget_udc_reset(struct usb_gadget *gadget, struct usb_gadget_driver *driver)
{
	driver->reset(gadget);
	usb_gadget_set_state(gadget, USB_STATE_DEFAULT);
}