diff options
| author | 2018-09-04 17:18:57 +0200 | |
|---|---|---|
| committer | 2018-09-20 17:04:21 +0800 | |
| commit | 8b97d73c4d72a2abf58f8e49062a7ee1e5f1334e (patch) | |
| tree | 95083bfa70f30922b0b64e080c4305d80a93dfd7 /drivers/usb/typec/class.c | |
| parent | doc: usb: ci-hdrc-usb2: Add pinctrl properties definition (diff) | |
| download | wireguard-linux-8b97d73c4d72a2abf58f8e49062a7ee1e5f1334e.tar.xz wireguard-linux-8b97d73c4d72a2abf58f8e49062a7ee1e5f1334e.zip | |
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.
Fixes: be6b0c1bd0be ("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>
Diffstat (limited to 'drivers/usb/typec/class.c')
0 files changed, 0 insertions, 0 deletions
