if (musb_readb(mbase, MUSB_DEVCTL) & MUSB_DEVCTL_HM)
break;
} while (get_timer(0) < timeout);
if (musb_readb(mbase, MUSB_DEVCTL) & MUSB_DEVCTL_HM)
break;
} while (get_timer(0) < timeout);
_musb_reset_root_port(host, NULL);
host->host->is_active = 1;
_musb_reset_root_port(host, NULL);
host->host->is_active = 1;
.reset_root_port = musb_reset_root_port,
};
#endif /* CONFIG_DM_USB */
.reset_root_port = musb_reset_root_port,
};
#endif /* CONFIG_DM_USB */