]> git.baikalelectronics.ru Git - kernel.git/commit
usb: dwc3: dwc3-omap: Fix disable IRQ
authorGeorge Cherian <george.cherian@ti.com>
Fri, 13 Feb 2015 04:43:24 +0000 (10:13 +0530)
committerFelipe Balbi <balbi@ti.com>
Mon, 23 Feb 2015 15:36:34 +0000 (09:36 -0600)
commit39376b4505049463f228e01e954dd710f3f50c1d
tree4f3e02b8104dc6d3f460bd0990bd7ddaf3bbcdbf
parent02dbe48de2bbe578585b3f8418b6e1722d2ec097
usb: dwc3: dwc3-omap: Fix disable IRQ

In the wrapper the IRQ disable should be done by writing 1's to the
IRQ*_CLR register. Existing code is broken because it instead writes
zeros to IRQ*_SET register.

Fix this by adding functions dwc3_omap_write_irqmisc_clr() and
dwc3_omap_write_irq0_clr() which do the right thing.

Fixes: 9021712f744f ("usb: Introduce DesignWare USB3 DRD Driver")
Cc: <stable@vger.kernel.org> # v3.2+
Signed-off-by: George Cherian <george.cherian@ti.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/dwc3/dwc3-omap.c