commit | fb416f69900773d5a6030c909114099f92d07ab9 | [log] [tgz] |
---|---|---|
author | Wei Yongjun <weiyongjun1@huawei.com> | Tue Jan 02 11:47:03 2018 +0000 |
committer | Bjorn Andersson <bjorn.andersson@linaro.org> | Tue Jan 02 09:23:20 2018 -0800 |
tree | bab93012b9e951c11e82cb999945d8c04066cfb3 | |
parent | 178f3f75bb4ef7a29bf5c175eb33794ac9ae9bce [diff] |
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: Wei Yongjun <weiyongjun1@huawei.com> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>