|
@@ -90,6 +90,9 @@ static int ehci_ci_reset(struct usb_hcd *hcd)
|
|
|
|
|
|
ehci->need_io_watchdog = 0;
|
|
|
|
|
|
+ if (ci->platdata->notify_event)
|
|
|
+ ci->platdata->notify_event(ci, CI_HDRC_CONTROLLER_RESET_EVENT);
|
|
|
+
|
|
|
ci_platform_configure(ci);
|
|
|
|
|
|
return ret;
|
|
@@ -187,6 +190,9 @@ static void host_stop(struct ci_hdrc *ci)
|
|
|
struct usb_hcd *hcd = ci->hcd;
|
|
|
|
|
|
if (hcd) {
|
|
|
+ if (ci->platdata->notify_event)
|
|
|
+ ci->platdata->notify_event(ci,
|
|
|
+ CI_HDRC_CONTROLLER_STOPPED_EVENT);
|
|
|
usb_remove_hcd(hcd);
|
|
|
ci->role = CI_ROLE_END;
|
|
|
synchronize_irq(ci->irq);
|