diff options
author | Vidyakumar Athota <vathota@codeaurora.org> | 2017-03-23 13:35:22 -0700 |
---|---|---|
committer | Vidyakumar Athota <vathota@codeaurora.org> | 2017-03-23 13:48:55 -0700 |
commit | b9732c9865d7ddf8eb5ba6d27db8081ad59c815a (patch) | |
tree | 82409683eee13b8c4da149fa56f33c4f02394ea5 /drivers/leds/leds-sead3.c | |
parent | 630218f7109215471e1f43c2200f6bdc98f92f93 (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>
Diffstat (limited to 'drivers/leds/leds-sead3.c')
0 files changed, 0 insertions, 0 deletions