linux-uconsole/drivers/usb/chipidea
Loic Poulain eb4a3faebf 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-13 11:08:36 -08:00
..
bits.h USB: chipidea: Remove redundant license text 2017-11-07 15:45:01 +01:00
ci.h usb: chipidea: Always build ULPI code 2018-07-05 14:22:47 +08:00
ci_hdrc_imx.c usb: chipidea: Fix ULPI on imx51 2018-05-31 12:44:39 +02:00
ci_hdrc_imx.h USB: chipidea: Remove redundant license text 2017-11-07 15:45:01 +01:00
ci_hdrc_msm.c USB: chipidea: msm: fix ulpi-node lookup 2017-12-13 09:50:52 +08:00
ci_hdrc_pci.c USB: chipidea: Remove redundant license text 2017-11-07 15:45:01 +01:00
ci_hdrc_tegra.c usb: chipidea: tegra: Use aligned DMA on Tegra114/124 2018-06-26 10:15:31 +08:00
ci_hdrc_usb2.c USB: chipidea: Remove redundant license text 2017-11-07 15:45:01 +01:00
ci_hdrc_zevio.c USB: chipidea: Remove redundant license text 2017-11-07 15:45:01 +01:00
core.c USB: chipidea: no need to check return value of debugfs_create functions 2018-05-31 12:54:22 +02:00
debug.c USB: chipidea: no need to check return value of debugfs_create functions 2018-05-31 12:54:22 +02:00
host.c usb: chipidea: host: fix disconnection detect issue 2018-06-26 09:59:34 +08:00
host.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
Kconfig usb: chipidea: Always build ULPI code 2018-07-05 14:22:47 +08:00
Makefile usb: chipidea: Always build ULPI code 2018-07-05 14:22:47 +08:00
otg.c USB: chipidea: Remove redundant license text 2017-11-07 15:45:01 +01:00
otg.h usb: chipidea: Prevent unbalanced IRQ disable 2018-11-13 11:08:36 -08:00
otg_fsm.c USB: move many drivers to use DEVICE_ATTR_WO 2018-01-24 08:49:52 +01:00
otg_fsm.h USB: chipidea: Remove redundant license text 2017-11-07 15:45:01 +01:00
udc.c USB: chipidea: Remove redundant license text 2017-11-07 15:45:01 +01:00
udc.h USB: chipidea: Remove redundant license text 2017-11-07 15:45:01 +01:00
ulpi.c usb: chipidea: Always build ULPI code 2018-07-05 14:22:47 +08:00
usbmisc_imx.c usb: chipidea: usbmisc: small clean up 2018-03-29 12:03:01 +02:00