Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9a72294c authored by Vijayavardhan Vennapusa's avatar Vijayavardhan Vennapusa
Browse files

USB: dwc3: msm: Kill tasklet before disabling irq in suspend



If tasklet dwc->bh and dwc3_msm_suspend() race each other, there is
chance that clocks are turned off as part of suspend() and end up
accessing registers as part of bottom half handler. This results in
crash. Fix this by killing tasklet before disabling irq as part of
suspend() so that tasklet gets completed if it is pending.

Change-Id: I63775dd27fedc0026d6edc6a76ec93e4581be644
Signed-off-by: default avatarVijayavardhan Vennapusa <vvreddy@codeaurora.org>
parent ca3a3f54
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment