Skip to content
Commit fb416f69 authored by Wei Yongjun's avatar Wei Yongjun Committed by Bjorn Andersson
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.

Signed-off-by: default avatarWei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
parent 178f3f75
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment