]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
rpmsg: glink: Use complete_all for open states
authorChris Lew <clew@codeaurora.org>
Wed, 24 Jun 2020 16:45:18 +0000 (22:15 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 5 Nov 2020 10:08:43 +0000 (11:08 +0100)
commitfe5fe1ec36dc00cdd01e9d9cf3044349d676cfb0
tree8d21375ffa007e5e8723da6e94c23be436ee2dc9
parent4896829cafca3bd45b19aa924b66480982433a25
rpmsg: glink: Use complete_all for open states

[ Upstream commit 4fcdaf6e28d11e2f3820d54dd23cd12a47ddd44e ]

The open_req and open_ack completion variables are the state variables
to represet a remote channel as open. Use complete_all so there are no
races with waiters and using completion_done.

Signed-off-by: Chris Lew <clew@codeaurora.org>
Signed-off-by: Arun Kumar Neelakantam <aneela@codeaurora.org>
Signed-off-by: Deepak Kumar Singh <deesin@codeaurora.org>
Link: https://lore.kernel.org/r/1593017121-7953-2-git-send-email-deesin@codeaurora.org
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/rpmsg/qcom_glink_native.c