Commit df8ce554 authored by Dave Jones's avatar Dave Jones

[CPUFREQ] Abort if there is a failure in aquiring "ownership" of the SMI speedstep interface.

From Dominik Brodowski
parent 912aea6b
......@@ -225,9 +225,10 @@ static int speedstep_cpu_init(struct cpufreq_policy *policy)
return -ENODEV;
result = speedstep_smi_ownership();
if (result)
if (result) {
dprintk(KERN_INFO "cpufreq: fails an aquiring ownership of a SMI interface.\n");
return -EINVAL;
}
/* detect low and high frequency */
result = speedstep_smi_get_freqs(&speedstep_freqs[SPEEDSTEP_LOW].frequency,
......
Markdown is supported
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