commit | 13bcddefe67890afeafee5ece7b969956c840cc9 | [log] [tgz] |
---|---|---|
author | Weiyin Jiang <wjiang@codeaurora.org> | Fri Sep 06 16:59:32 2019 +0800 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Fri Sep 06 02:46:46 2019 -0700 |
tree | 31f9f9f42dfeb3432125bb5e05b040d4a1a87df1 | |
parent | 15bb80d3ddf1b214758e2802f28befba658f940c [diff] |
hal: Fix race condition in parsing platform info xml Section is a global variable in platform info parsing functions and both platform and acdb_extn will call into platform_info_init(). As a result, there's a race condition happening. Adding mutex lock to ensure file parsing in atomic. CRs-Fixed: 2521912 Change-Id: Ic323618057ca2dc21ff60d280cb7a6de3a3271ed