diff options
author | Felipe Balbi <balbi@ti.com> | 2011-09-01 15:22:01 (GMT) |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2011-09-09 10:02:31 (GMT) |
commit | df01c61e0675bddc8d0567d65f6174cdeb92c286 (patch) | |
tree | 1f329142a2007e83f9da114d2d243fa887d8ee0a /drivers/usb/dwc3 | |
parent | 324e5481401dbbadb6758c17480f50bad0996db9 (diff) | |
download | linux-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>
Diffstat (limited to 'drivers/usb/dwc3')
-rw-r--r-- | drivers/usb/dwc3/dwc3-omap.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/usb/dwc3/dwc3-omap.c b/drivers/usb/dwc3/dwc3-omap.c index b47781c..a4788ac 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 | |