summaryrefslogtreecommitdiffstats
path: root/drivers/cpufreq/amd-pstate-ut.c
diff options
context:
space:
mode:
authorSumit Gupta <sumitg@nvidia.com>2023-08-25 13:16:17 +0200
committerViresh Kumar <viresh.kumar@linaro.org>2023-08-28 12:15:24 +0200
commitde0e85b29edfc68046d587c7d67bbd2bdc31b73f (patch)
tree2f890bc3d1f4b867ba40b95d679a093d4101e717 /drivers/cpufreq/amd-pstate-ut.c
parentcpufreq: powernow-k8: Use related_cpus instead of cpus in driver.exit() (diff)
downloadlinux-de0e85b29edfc68046d587c7d67bbd2bdc31b73f.tar.xz
linux-de0e85b29edfc68046d587c7d67bbd2bdc31b73f.zip
cpufreq: tegra194: remove opp table in exit hook
Add exit hook and remove OPP table when the device gets unregistered. This will fix the error messages when the CPU FREQ driver module is removed and then re-inserted. It also fixes these messages while onlining the first CPU from a policy whose all CPU's were previously offlined. debugfs: File 'cpu5' in directory 'opp' already present! debugfs: File 'cpu6' in directory 'opp' already present! debugfs: File 'cpu7' in directory 'opp' already present! Fixes: f41e1442ac5b ("cpufreq: tegra194: add OPP support and set bandwidth") Signed-off-by: Sumit Gupta <sumitg@nvidia.com> [ Viresh: Dropped irrelevant change from it ] Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'drivers/cpufreq/amd-pstate-ut.c')
0 files changed, 0 insertions, 0 deletions