speedstep-smi: fail on failure to aquire "ownership"
PATCH 1/1 speedstep-smi: fail on failure to aquire "ownership"
Abort if there is a failure in aquiring "ownership" of the SMI speedstep interface.
arch/i386/kernel/cpu/cpufreq/speedstep-smi.c +3 -1
@@ -226,8 +226,10 @@ 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,
_______________________________________________
Cpufreq mailing list
[email protected]
http://www.linux.org.uk/mailman/listinfo/cpufreq