commit | 148ec935643554b51c7e076d73dfed4aafd72a2c | [log] [tgz] |
---|---|---|
author | Soumya Managoli <smanag@codeaurora.org> | Thu Apr 05 17:32:42 2018 +0530 |
committer | Soumya Managoli <smanag@codeaurora.org> | Fri Apr 06 20:01:57 2018 +0530 |
tree | 8d1631fe2930905338479117b784aa1637106f78 | |
parent | 1d6fb48aaab9f2ae4761eb0dcd3e9ac3d6811271 [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