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

Skip to content
Commit 4c875fe7 authored by Wei Yongjun's avatar Wei Yongjun Committed by Chris Lew
Browse files

rpmsg: glink: Fix missing mutex_init() in qcom_glink_alloc_channel()



qcom_glink_alloc_channel() allocates the mutex but not initialize it.
Use mutex_init() on it to initialize it correctly.

This is detected by Coccinelle semantic patch.

Change-Id: If32134bfff9770a06edaec8137ecfa2fe546e4ba
Signed-off-by: default avatarWei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
Patch-mainline: linux-remoteproc @ 01/02/2018 11:47
Signed-off-by: default avatarChris Lew <clew@codeaurora.org>
parent bbe57a6c
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