cpufreq: fix NULL pointer deference at od_set_powersave_bias()
authorJacob Shin <jacob.shin@amd.com>
Tue, 25 Jun 2013 20:42:37 +0000 (22:42 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 25 Jun 2013 20:42:37 +0000 (22:42 +0200)
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: Tim Gardner <tim.gardner@canonical.com>
Signed-off-by: Jacob Shin <jacob.shin@amd.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>

No differences found