summaryrefslogtreecommitdiff
path: root/drivers/cpufreq/longrun.c
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@linaro.org>2022-05-09 09:27:37 +0530
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2022-05-09 18:51:54 +0200
commit85f0e42bd65d01b351d561efb38e584d4c596553 (patch)
tree01787975f47c78623b01234abf4c9a5b1934cbf9 /drivers/cpufreq/longrun.c
parent740fcdc2c20ecf855b36b919d7fa1b872b5a7eae (diff)
downloadlinux-next-85f0e42bd65d01b351d561efb38e584d4c596553.tar.gz
Revert "cpufreq: Fix possible race in cpufreq online error path"
This reverts commit f346e96267cd76175d6c201b40f770c0116a8a04. The commit tried to fix a possible real bug but it made it even worse. The fix was simply buggy as now an error out to out_offline_policy or out_exit_policy will try to release a semaphore which was never taken in the first place. This works fine only if we failed late, i.e. via out_destroy_policy. Fixes: f346e96267cd ("cpufreq: Fix possible race in cpufreq online error path") Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/cpufreq/longrun.c')
0 files changed, 0 insertions, 0 deletions