commit | 363f0cd6a4e3a64223cc9fe13afe246ef2389577 | [log] [tgz] |
---|---|---|
author | Soumya Managoli <smanag@codeaurora.org> | Thu Apr 05 17:32:42 2018 +0530 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Mon Oct 21 02:52:22 2019 -0700 |
tree | 7293a170dc7ef0011b00454e558fd39d62e9d51f | |
parent | 872acb95ba1f98e59b7f7dc5888edbe6a6418475 [diff] |
hal: Fix incorrect wsa count update during platform_init buf is not reset after each read_line_from_file call. Hence buf is matching with wsa after first wsa thermal zone is found. This results in wsa_count being more than 2. Buffer is reset after each iteration to fix this issue. Change-Id: I73b1bd350c0a8659e7a42b5ccdb7600935254ae6