From: Matthew Garrett Date: Tue, 20 Jul 2010 17:52:00 +0000 (-0400) Subject: [CPUFREQ] pcc driver should check for pcch method before calling _OSC X-Git-Tag: v2.6.35~27^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=47f8bcf362410b631a4d99ff5c79ec6b9dd3ace6;p=pandora-kernel.git [CPUFREQ] pcc driver should check for pcch method before calling _OSC The pcc specification documents an _OSC method that's incompatible with the one defined as part of the ACPI spec. This shouldn't be a problem as both are supposed to be guarded with a UUID. Unfortunately approximately nobody (including HP, who wrote this spec) properly check the UUID on entry to the _OSC call. Right now this could result in surprising behaviour if the pcc driver performs an _OSC call on a machine that doesn't implement the pcc specification. Check whether the PCCH method exists first in order to reduce this probability. Signed-off-by: Matthew Garrett Cc: Naga Chumbalkar Signed-off-by: Dave Jones --- Reading git-diff-tree failed