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)
commit72c976fc3a4b3ff264127f4ced7c06f35cede858
treef5a4c532d2218ce7429998a651207ccc7b9ca2fb
parent02af1db05dcce05603eb51ba3e93c6f88d6ea287
thermal: gov_user_space: Do not lock thermal zone mutex

Commit 670a5e356cb6 ("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: 670a5e356cb6 ("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