Skip to content
Commit c2837558 authored by Jacob Shin's avatar Jacob Shin Committed by Rafael J. Wysocki
Browse files

cpufreq: fix NULL pointer deference at od_set_powersave_bias()



When initializing the default powersave_bias value, we need to first
make sure that this policy is running the ondemand governor.

Reported-and-tested-by: default avatarTim Gardner <tim.gardner@canonical.com>
Signed-off-by: default avatarJacob Shin <jacob.shin@amd.com>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent 9e895ace
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment