msm-core: Ensure polling occurs on schedule
MSM core driver is supposed to update power cost and cpu temperature on a
fixed interval in addition to when there is a large change in temperature.
There is a poll_ms parameter that is set to 50ms by default that should
cause the driver to poll for updates every 50ms. It has been observed that
this polling can stop for up to several minutes.
The issue is identified with the optimization in the polling code which
stalls polling if temperature didn't change between two consecutive
readings and polling isn't started until after a large temperature change
triggers the polling thread. Fix issue by removing the optimization.
Change-Id: I0e140e7681d404a1f03650bef725e86d5c39243c
Signed-off-by:
Olav Haugan <ohaugan@codeaurora.org>
Loading
Please register or sign in to comment