Home
last modified time | relevance | path

Searched hist:"8 b97d73c" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/usb/chipidea/
H A Dotg.h8b97d73c Tue Sep 04 10:18:57 CDT 2018 Loic Poulain <loic.poulain@linaro.org> 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>
8b97d73c Tue Sep 04 10:18:57 CDT 2018 Loic Poulain <loic.poulain@linaro.org> 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>