usb: dwc3: dwc3-omap: Use the clear register inorder to clear the interrupts
authorKishon Vijay Abraham I <kishon@ti.com>
Mon, 10 Aug 2015 11:22:54 +0000 (16:52 +0530)
committerTom Rini <trini@konsulko.com>
Fri, 28 Aug 2015 16:33:19 +0000 (12:33 -0400)
commit8af1be7678c1fd9bc03b28f0756c586fb3d47d29
tree62cab0e53154b1b52ed734761f5f469dda2fec92
parent2d9efa1227262249d381ed5d9d341cbdba76e62d
usb: dwc3: dwc3-omap: Use the clear register inorder to clear the interrupts

Writing "0x00" to the USBOTGSS_IRQENABLE_SET_MISC and
USBOTGSS_IRQENABLE_SET_0 doesn't disable the interrupts. Used
USBOTGSS_IRQENABLE_CLR_MISC and USBOTGSS_IRQENABLE_CLR_0 instead.

Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Acked-by: Marek Vasut <marex@denx.de>
Reviewed-by: Tom Rini <trini@konsulko.com>
drivers/usb/dwc3/dwc3-omap.c