diff options
| author | Peng Fan <[email protected]> | 2024-02-26 00:36:57 +0000 |
|---|---|---|
| committer | Daniel Lezcano <[email protected]> | 2024-03-11 16:14:46 +0000 |
| commit | 4d0642074c67ed9928e9d68734ace439aa06e403 (patch) | |
| tree | 47bb5902e6666f343be8b64b777838ab93aba6fc /drivers/cdx/controller/cdx_controller.c | |
| parent | thermal/drivers/sun8i: Don't fail probe due to zone registration failure (diff) | |
| download | kernel-4d0642074c67ed9928e9d68734ace439aa06e403.tar.gz kernel-4d0642074c67ed9928e9d68734ace439aa06e403.zip | |
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 'drivers/cdx/controller/cdx_controller.c')
0 files changed, 0 insertions, 0 deletions
