diff options
author | Peng Fan <[email protected]> | 2024-02-26 08:36:57 +0800 |
---|---|---|
committer | Daniel Lezcano <[email protected]> | 2024-03-11 17:14:46 +0100 |
commit | 4d0642074c67ed9928e9d68734ace439aa06e403 (patch) | |
tree | 47bb5902e6666f343be8b64b777838ab93aba6fc /tools/perf/scripts/python/mem-phys-addr.py | |
parent | 79d998421d494a68db81f05977d2c22fb06cd627 (diff) |
thermal/drivers/qoriq: Fix getting tmu range
TMU Version 1 has 4 TTRCRs, while TMU Version >=2 has 16 TTRCRs.
So limit the len to 4 will report "invalid range data" for i.MX93.
This patch drop the local array with allocated ttrcr array and
able to support larger tmu ranges.
Fixes: f12d60c81fce ("thermal/drivers/qoriq: Support version 2.1")
Tested-by: Sascha Hauer <[email protected]>
Signed-off-by: Peng Fan <[email protected]>
Signed-off-by: Daniel Lezcano <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions