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

Skip to content
Commit 9c23bf6c authored by Azhar Shaikh's avatar Azhar Shaikh Committed by Gerrit - the friendly Code Review server
Browse files

usb: dwc3-msm: Cancel block reset while cable disconnect



There might be a race between block reset due to an ERRATIC
event and cable disconnect at the same time. This might lead to an
unclocked register access in dwc_gadget_run_stop().
To avoid this race, whenever there is a cable disconnect while block reset
in progress, cancel block reset work and wait for it to finish.

CRs-fixed: 739944
Change-Id: Id0e0fc7faae82b7c52360c6247a6eaa92d4f9997
Signed-off-by: default avatarAzhar Shaikh <azhars@codeaurora.org>
parent 502b33f8
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