Files
linux-stable-mirror/drivers/cpufreq
Dhananjay Ugwekar 61e931ee14 cpufreq: amd-pstate: Remove unnecessary driver_lock in set_boost
[ Upstream commit db1cafc77a ]

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>
2025-05-29 11:03:01 +02:00
..
2025-05-02 07:59:00 +02:00