commit | b840d357d8b9e4ca3c1b3f9bb55ba8542089a2d2 | [log] [tgz] |
---|---|---|
author | Vidyakumar Athota <vathota@codeaurora.org> | Thu Mar 23 13:35:22 2017 -0700 |
committer | Banajit Goswami <bgoswami@codeaurora.org> | Mon Jun 12 10:09:38 2017 -0700 |
tree | ff5c75996e806a7aace18267104300d610654911 | |
parent | 76889294696378780032de1b791b09d1e7a59791 [diff] |
soc: qcom: fix to avoid multiple memory allocations There is a chance that glink channel memory can be allocated multiple times if wdsp_glink_ch_info_init() is called from multiple threads. Avoid this scenario by protecting the private data structure. Change-Id: I04fc19232b0f128b36a00dc1e73a3bed03664a93 Signed-off-by: Vidyakumar Athota <vathota@codeaurora.org>