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

Skip to content
Commit a32e66a5 authored by Jeff Hugo's avatar Jeff Hugo
Browse files

soc: qcom: smd: Correct race with reopen ready event



The reopen ready event is sent to clients after they close a channel after
the remote side has opened the channel to indicate when the remote side is
ready for the channel to be reopened.  There exists a race where the remote
side can process the local close state change before we check the remote
state and decide to trigger the reopen ready event.

To address this race, check and cache the remote state before triggering
the local close state change.

Change-Id: I756e2ab1eedaeef0e1a3568937fb3d26d3188907
Signed-off-by: default avatarJeffrey Hugo <jhugo@codeaurora.org>
parent 3bc1fc8b
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