]> 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)
committerJiri Slaby <jslaby@suse.cz>
Thu, 12 Mar 2015 16:31:14 +0000 (17:31 +0100)
commit660c8a7287d9b825ff2893418cfb7cd48fe0ac06
tree6216dbee7be9e28c4916066f16385997c3972599
parent349fbd792cfa0849b61d87344f2c5fe5935b03be
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: Jiri Slaby <jslaby@suse.cz>
drivers/usb/dwc3/dwc3-omap.c