msm-core: Align the trace log temp in same scale factor
Temp in trace_temp_notification is not divided with scaling factor while cpu_node->temp is. Use temp after scale for better log understanding. Change-Id: Iadf4a1c39211651fee67cc18f68a65785f28fa58 Signed-off-by: Maria Yu <aiquny@codeaurora.org>
This commit is contained in:
parent
d8ff341d38
commit
3551dc315a
1 changed files with 3 additions and 1 deletions
|
@ -190,10 +190,12 @@ static void core_temp_notify(enum thermal_trip_type type,
|
|||
struct cpu_activity_info *cpu_node =
|
||||
(struct cpu_activity_info *) data;
|
||||
|
||||
temp /= scaling_factor;
|
||||
|
||||
trace_temp_notification(cpu_node->sensor_id,
|
||||
type, temp, cpu_node->temp);
|
||||
|
||||
cpu_node->temp = temp / scaling_factor;
|
||||
cpu_node->temp = temp;
|
||||
|
||||
complete(&sampling_completion);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue