瀏覽代碼

usb: dwc3: omap: use the macro we already have

trivial patch, no functional changes.

Signed-off-by: Felipe Balbi <balbi@ti.com>
Felipe Balbi 14 年之前
父節點
當前提交
df01c61e06
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      drivers/usb/dwc3/dwc3-omap.c

+ 2 - 1
drivers/usb/dwc3/dwc3-omap.c

@@ -311,7 +311,8 @@ static int __devinit dwc3_omap_probe(struct platform_device *pdev)
 	}
 	}
 
 
 	/* enable all IRQs */
 	/* enable all IRQs */
-	dwc3_writel(omap->base, USBOTGSS_IRQENABLE_SET_0, 0x01);
+	reg = USBOTGSS_IRQO_COREIRQ_ST;
+	dwc3_writel(omap->base, USBOTGSS_IRQENABLE_SET_0, reg);
 
 
 	reg = (USBOTGSS_IRQ1_OEVT |
 	reg = (USBOTGSS_IRQ1_OEVT |
 			USBOTGSS_IRQ1_DRVVBUS_RISE |
 			USBOTGSS_IRQ1_DRVVBUS_RISE |