diff options
author | Dhananjay Ugwekar <dhananjay.ugwekar@amd.com> | 2025-01-30 08:52:52 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-05-29 11:03:01 +0200 |
commit | 61e931ee145eeab8196e585ff4334870b130b744 (patch) | |
tree | 72e179e23751914983d2b0d72e47b0e0eaaedb52 /net/core/dev.c | |
parent | b82e496531c571caf8a2ef247f51c160bab2162e (diff) |
cpufreq: amd-pstate: Remove unnecessary driver_lock in set_boost
[ Upstream commit db1cafc77aaaf871509da06f4a864e9af6d6791f ]
set_boost is a per-policy function call, hence a driver wide lock is
unnecessary. Also this mutex_acquire can collide with the mutex_acquire
from the mode-switch path in status_store(), which can lead to a
deadlock. So, remove it.
Signed-off-by: Dhananjay Ugwekar <dhananjay.ugwekar@amd.com>
Acked-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'net/core/dev.c')
0 files changed, 0 insertions, 0 deletions