]> git.baikalelectronics.ru Git - kernel.git/commit
thermal: gov_user_space: Do not lock thermal zone mutex
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 30 Aug 2022 18:15:38 +0000 (20:15 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 30 Aug 2022 18:18:47 +0000 (20:18 +0200)
commit193772bb8ee5478f35f5ecc9239b7f17767e6874
treef5a4c532d2218ce7429998a651207ccc7b9ca2fb
parent97c756194f4a414b9d446fd2f6c7020d51672c0c
thermal: gov_user_space: Do not lock thermal zone mutex

Commit 94b92f6db4ee ("thermal/core: Move the thermal zone lock out of
the governors") moved thermal zone locking away from governors, but it
forgot about the user space one which deadlocks now.

Fix this by removing the thermal zone locking from the user space
governor.

Fixes: 94b92f6db4ee ("thermal/core: Move the thermal zone lock out of the governors")
Tested-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/thermal/gov_user_space.c