add sleep to let the clock stabilize before handling interrupt.
Bug 814888
Change-Id: I7983017f04ad8b84eb6def0f4f7c580292e6e374
Reviewed-on: http://git-master/r/27592
Tested-by: Prashant Gaikwad <pgaikwad@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
tegra_otg_enable_clk();
+ /* Following delay is intentional.
+ * It is placed here after observing system hang.
+ * Root cause is not confirmed.
+ */
+ msleep(1);
/* restore the interupt enable for cable ID and VBUS */
clk_enable(tegra_otg->clk);
writel(tegra_otg->intr_reg_data, (tegra_otg->regs + USB_PHY_WAKEUP));