Commit 8d2b647
cpufreq: amd-pstate: Remove unnecessary driver_lock in set_boost
[ Upstream commit db1cafc ]
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 <[email protected]>
Acked-by: Mario Limonciello <[email protected]>
Signed-off-by: Viresh Kumar <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
(cherry picked from commit 61e931ee145eeab8196e585ff4334870b130b744)
Signed-off-by: Jack Vogel <[email protected]>1 parent dfc4d8a commit 8d2b647
1 file changed
+0
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
696 | 696 | | |
697 | 697 | | |
698 | 698 | | |
699 | | - | |
700 | 699 | | |
701 | 700 | | |
702 | 701 | | |
| |||
0 commit comments