usb: dwc3: omap: use the macro we already have
authorFelipe Balbi <balbi@ti.com>
Thu, 1 Sep 2011 15:22:01 +0000 (18:22 +0300)
committerFelipe Balbi <balbi@ti.com>
Fri, 9 Sep 2011 10:02:31 +0000 (13:02 +0300)
trivial patch, no functional changes.

Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/dwc3/dwc3-omap.c

index b47781c2607949337ac20a8aa301ca0efd863a19..a4788ac53c0ea1200db090e6d8f7bed112e75721 100644 (file)
@@ -311,7 +311,8 @@ static int __devinit dwc3_omap_probe(struct platform_device *pdev)
        }
 
        /* 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 |
                        USBOTGSS_IRQ1_DRVVBUS_RISE |