summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelipe Balbi <balbi@ti.com>2011-09-01 19:22:01 +0400
committerFelipe Balbi <balbi@ti.com>2011-09-09 14:02:31 +0400
commitdf01c61e0675bddc8d0567d65f6174cdeb92c286 (patch)
tree1f329142a2007e83f9da114d2d243fa887d8ee0a
parent324e5481401dbbadb6758c17480f50bad0996db9 (diff)
downloadlinux-df01c61e0675bddc8d0567d65f6174cdeb92c286.tar.xz
usb: dwc3: omap: use the macro we already have
trivial patch, no functional changes. Signed-off-by: Felipe Balbi <balbi@ti.com>
-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 |