soc: qcom: glink: Change cleanup sequence in remote close
In function glink_core_remote_close_common, notify_state callback
is called before clearing wait queue. This leads to deadlock if client
want to synchronize tx and state notify function.
Complete_all is called before notify client about state change,
so that all pending requests from client will be cleared.
CRs-Fixed: 1107652
Change-Id: Ia6c4a305eb42c014a928bad36491e6e5f6eac9d5
Signed-off-by:
Dhoat Harpal <hdhoat@codeaurora.org>
Loading
Please register or sign in to comment