commit | 63f4d8c8bafaa903418c098564329f9f46ce77d6 | [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> | Wed Sep 18 07:48:17 2019 -0700 |
tree | d340f0d485789f81658841d39056267b70da7799 | |
parent | 0f5e39d33f62b2187b98975f61de240ce8c5865f [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