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

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
ci.h
ci_hdrc_imx.c
ci_hdrc_imx.h
ci_hdrc_msm.c
ci_hdrc_pci.c
ci_hdrc_usb2.c
ci_hdrc_zevio.c
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
host.h
Kconfig
Makefile
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
otg_fsm.c
otg_fsm.h
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