summaryrefslogtreecommitdiffstats
path: root/drivers/usb/dwc3
diff options
context:
space:
mode:
authorFelipe Balbi <balbi@ti.com>2011-09-01 18:22:01 +0300
committerFelipe Balbi <balbi@ti.com>2011-09-09 13:02:31 +0300
commitdf01c61e0675bddc8d0567d65f6174cdeb92c286 (patch)
tree1f329142a2007e83f9da114d2d243fa887d8ee0a /drivers/usb/dwc3
parent324e5481401dbbadb6758c17480f50bad0996db9 (diff)
downloadblackbird-op-linux-df01c61e0675bddc8d0567d65f6174cdeb92c286.tar.gz
blackbird-op-linux-df01c61e0675bddc8d0567d65f6174cdeb92c286.zip
usb: dwc3: omap: use the macro we already have
trivial patch, no functional changes. Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/dwc3')
-rw-r--r--drivers/usb/dwc3/dwc3-omap.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/usb/dwc3/dwc3-omap.c b/drivers/usb/dwc3/dwc3-omap.c
index b47781c26079..a4788ac53c0e 100644
--- a/drivers/usb/dwc3/dwc3-omap.c
+++ b/drivers/usb/dwc3/dwc3-omap.c
@@ -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 |
OpenPOWER on IntegriCloud