diff options
author | Pali Rohár <[email protected]> | 2021-04-08 13:42:20 +0200 |
---|---|---|
committer | Viresh Kumar <[email protected]> | 2021-04-09 15:17:33 +0530 |
commit | 92963903a8e11b9576eb7249f8e81eefa93b6f96 (patch) | |
tree | 098e5498333237b3352f21ce24f44b401518ab03 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | e93033aff684641f71a436ca7a9d2a742126baaf (diff) |
cpufreq: armada-37xx: Fix driver cleanup when registration failed
Commit 8db82563451f ("cpufreq: armada-37xx: fix frequency calculation for
opp") changed calculation of frequency passed to the dev_pm_opp_add()
function call. But the code for dev_pm_opp_remove() function call was not
updated, so the driver cleanup phase does not work when registration fails.
This fixes the issue by using the same frequency in both calls.
Signed-off-by: Pali Rohár <[email protected]>
Acked-by: Gregory CLEMENT <[email protected]>
Tested-by: Tomasz Maciej Nowak <[email protected]>
Tested-by: Anders Trier Olesen <[email protected]>
Tested-by: Philip Soares <[email protected]>
Fixes: 8db82563451f ("cpufreq: armada-37xx: fix frequency calculation for opp")
Signed-off-by: Viresh Kumar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions