Commit 1c164955 authored by Loic Poulain's avatar Loic Poulain
Browse files

usb: chipidea: Prevent unbalanced IRQ disable



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.

upstream-commit: 8b97d73c

Fixes: be6b0c1b ("usb: chipidea: using one inline function to cover queue work operations")
Signed-off-by: default avatarLoic Poulain <loic.poulain@linaro.org>
parent d819d861
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment