/* select_ep - selects endpoint @priv_dev: extended gadget object @ep: endpoint address  */
void cdns3_select_ep(struct cdns3_device *priv_dev, u32 ep)
/* select_ep - selects endpoint @priv_dev: extended gadget object @ep: endpoint address  */
void cdns3_select_ep(struct cdns3_device *priv_dev, u32 ep)
{
	if (priv_dev->selected_ep == ep)
		return;
	priv_dev->selected_ep = ep;
	writel(ep, &priv_dev->regs->ep_sel);
}