diff options
author | Antoine Tenart <[email protected]> | 2021-09-09 10:56:13 +0200 |
---|---|---|
committer | Daniel Lezcano <[email protected]> | 2021-10-21 11:46:24 +0200 |
commit | c4fcf1ada4ae63e0aab6afd19ca2e7d16833302c (patch) | |
tree | 112d8e46e70caa641a0f52289e965154a67348a5 /tools/perf/scripts/python/arm-cs-trace-disasm.py | |
parent | fb6de59d3967f87fe4cae4b08f55cbe0d5a30b77 (diff) |
thermal/drivers/int340x: Improve the tcc offset saving for suspend/resume
When the driver resumes, the tcc offset is set back to its previous
value. But this only works if the value was user defined as otherwise
the offset isn't saved. This asymmetric logic is harder to maintain and
introduced some issues.
Improve the logic by saving the tcc offset in a suspend op, so the right
value is always restored after a resume.
Signed-off-by: Antoine Tenart <[email protected]>
Reviewed-by: Srinivas Pandruvada <[email protected]>
Tested-by: Srinivas Pandruvada <srinivas.pI [email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Daniel Lezcano <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/arm-cs-trace-disasm.py')
0 files changed, 0 insertions, 0 deletions