]> 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)
commit94731ddba63cb7d3407f18c470c3f89135472dbf
tree4f3e02b8104dc6d3f460bd0990bd7ddaf3bbcdbf
parentf776550f13045f76b06569edeeb6379f0eb3ccbe
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: 1e90ce98e30b ("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