* Another .38 pull request.
@ 2011-03-09 18:06 Dave Jones
0 siblings, 0 replies; only message in thread
From: Dave Jones @ 2011-03-09 18:06 UTC (permalink / raw)
To: Linus Torvalds; +Cc: Andrew Morton, cpufreq
One more patch that almost missed the boat.
Please pull from ..
master.kernel.org:/pub/scm/linux/kernel/git/davej/cpufreq.git/ fixes
arch/x86/kernel/cpu/cpufreq/pcc-cpufreq.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 1f858ef2fbabdc5e645644010a31a40c32e397c9
Author: Naga Chumbalkar <nagananda.chumbalkar@hp.com>
Date: Wed Mar 9 14:02:49 2011 +0000
[CPUFREQ] pcc-cpufreq: don't load driver if get_freq fails during init.
Return 0 on failure. This will cause the initialization of the driver
to fail and prevent the driver from loading if the BIOS cannot handle
the PCC interface command to "get frequency". Otherwise, the driver
will load and display a very high value like "4294967274" (which is
actually -EINVAL) for frequency:
# cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq
4294967274
Signed-off-by: Naga Chumbalkar <nagananda.chumbalkar@hp.com>
CC: stable@kernel.org
Signed-off-by: Dave Jones <davej@redhat.com>
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-03-09 18:06 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-09 18:06 Another .38 pull request Dave Jones
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox