diff options
author | Lukasz Luba <[email protected]> | 2016-05-31 11:25:09 +0100 |
---|---|---|
committer | MyungJoo Ham <[email protected]> | 2016-06-22 13:53:00 +0900 |
commit | 8d39fc085d268a56486066a3deca94745f804f2d (patch) | |
tree | 3f427f2a961e91c8ada3b93a97af1b380415fa7f /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 674789dd2c4b53ed368dc81ae22d72ac4fdb92ec (diff) |
PM / devfreq: fix initialization of current frequency in last status
Some systems need current frequency from last_status for calculation
but it is zeroed during initialization. When the device starts there is
no history, but we can assume that the last frequency was the
same as the initial frequency (which is also used in 'previous_freq').
The log shows the result of this misinterpreted value.
[ 2.042847] ... Failed to get voltage for frequency 0: -34
Signed-off-by: Lukasz Luba <[email protected]>
Reviewed-by: Javi Merino <[email protected]>
Signed-off-by: MyungJoo Ham <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions