mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 00:00:00 -04:00
Merge "qcom: soc_sleep_stats: Correctly read accumulated sleep length"
This commit is contained in:
commit
cbcb40d51d
1 changed files with 1 additions and 1 deletions
|
|
@ -103,7 +103,7 @@ static ssize_t stats_show(struct kobject *obj, struct kobj_attribute *attr,
|
|||
offset = offsetof(struct entry, last_exited_at);
|
||||
e->last_exited_at = le64_to_cpu(readq_relaxed(reg + offset));
|
||||
|
||||
offset = offsetof(struct entry, last_exited_at);
|
||||
offset = offsetof(struct entry, accumulated);
|
||||
e->accumulated = le64_to_cpu(readq_relaxed(reg + offset));
|
||||
|
||||
e->last_entered_at = get_time_in_sec(e->last_entered_at);
|
||||
|
|
|
|||
Loading…
Reference in a new issue