linux/drivers/usb/chipidea
Loic Poulain d986aedcc3 usb: chipidea: Prevent unbalanced IRQ disable
[ Upstream commit 8b97d73c4d ]

The ChipIdea IRQ is disabled before scheduling the otg work and
re-enabled on otg work completion. However if the job is already
scheduled we have to undo the effect of disable_irq int order to
balance the IRQ disable-depth value.

Fixes: be6b0c1bd0 ("usb: chipidea: using one inline function to cover queue work operations")
Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
Signed-off-by: Peter Chen <peter.chen@nxp.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-11-21 09:27:33 +01:00
..
bits.h usb: chipidea: add tx/rx burst size configuration interface 2015-08-14 10:03:58 +08:00
ci_hdrc_imx.c Revert "usb: chipidea: imx: enable CI_HDRC_SET_NON_ZERO_TTHA" 2017-02-26 11:07:51 +01:00
ci_hdrc_imx.h usb: chipidea: usbmisc_imx: add .set_wakeup interface 2015-03-18 16:19:09 +01:00
ci_hdrc_msm.c usb: chipidea: remove flag CI_HDRC_REQUIRE_TRANSCEIVER 2014-11-26 09:28:12 -08:00
ci_hdrc_pci.c chipidea: ci_hdrc_pci: use PCI_VDEVICE() instead of PCI_DEVICE() 2015-10-22 09:36:22 +08:00
ci_hdrc_usb2.c usb: chipidea: add xilinx zynq platform data 2015-09-15 16:08:49 +08:00
ci_hdrc_zevio.c Chipidea: TI-NSPIRE USB OTG hardware does not support high speed and must connect at full speed 2015-03-18 16:19:11 +01:00
ci.h usb: chipidea: Only read/write OTGSC from one place 2017-05-14 13:32:56 +02:00
core.c usb: chipidea: properly handle host or gadget initialization failure 2018-04-13 19:50:07 +02:00
debug.c usb: chipidea: debug: check before accessing ci_role 2017-06-14 13:16:22 +02:00
debug.h
host.c usb: chipidea: host: override hcd reset API 2015-08-14 09:13:13 +08:00
host.h usb: chipidea: ehci_init_driver is intended to call one time 2015-07-22 08:03:41 +08:00
Kconfig usb: chipidea: Use extcon framework for VBUS and ID detect 2015-10-22 09:24:25 +08:00
Makefile chipidea: introduce specific Kconfig options for glue drivers 2015-03-26 10:54:39 +01:00
otg_fsm.c usb: chipidea: otg_fsm: delete the duplicated reset controller operation 2015-08-14 09:13:11 +08:00
otg_fsm.h usb: chipidea: use hrtimer for otg fsm timers 2015-03-26 10:54:39 +01:00
otg.c usb: chipidea: vbus event may exist before starting gadget 2017-10-08 10:14:18 +02:00
otg.h usb: chipidea: Prevent unbalanced IRQ disable 2018-11-21 09:27:33 +01:00
udc.c usb: chipidea: udc: fix NULL pointer dereference if udc_start failed 2017-06-14 13:16:22 +02:00
udc.h
usbmisc_imx.c usb: chipidea: usbmisc_imx: fix a possible NULL dereference 2015-11-18 15:27:12 +08:00