]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Mar 2015 13:11:01 +0000 (14:11 +0100)
commit1ebbda9ff931844cae217e11f59fe918f9df0dd0
treea1a7947c614f0405f9d5ea59ffae47c0c2985883
parentd3ecce096759db41ab4130e674e2a9debc5c135d
usb: dwc3: dwc3-omap: Fix disable IRQ

commit 96e5d31244c5542f5b2ea81d76f14ba4b8a7d440 upstream.

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: 72246da40f37 ("usb: Introduce DesignWare USB3 DRD Driver")
Signed-off-by: George Cherian <george.cherian@ti.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/dwc3/dwc3-omap.c