For Tizen, Add udelay(1000) in irq_process_tr_complete.
This patch is a Workaround code to use UDC.
When run tizen flash manage, it need to add udelay(1000).
Otherwise, usb isn't connected.
Change-Id: Ib8f866cd363a2852ae29448e0b3dcf962831ac3e
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
/* Process non-setup transaction complete interrupts */
tmp = readl(&udc->op_regs->epcomplete);
- if (!tmp)
+ if (!tmp) {
+ /* WORKAROUND: Add 1msec for TIZEN */
+ udelay(1000);
return;
+ }
writel(tmp, &udc->op_regs->epcomplete);