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)
committerLothar Waßmann <LW@KARO-electronics.de>
Thu, 10 Sep 2015 09:29:51 +0000 (11:29 +0200)
commit807ef0f9090802d1af6fcf41c62ca314978e4a6b
treeefca6c017f94f358f50427445e899ca105692802
parente4aa3ac42d497411df0ca79ec13e3f16bf0a28a9
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