[CPUFREQ] speedstep-centrino: skip extract_clock logic for acpi based centrino
authorVenkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Mon, 29 Aug 2005 20:54:55 +0000 (13:54 -0700)
committerDave Jones <davej@redhat.com>
Thu, 1 Sep 2005 05:21:29 +0000 (22:21 -0700)
commitf914be79ab2144efe291d9fc383661e0e23dca44
treeb31042a3fe103a894a26611e16459f10b7b2cbaa
parent8085e1f1f0645fc6ddefcb54fdcba95808df5049
[CPUFREQ] speedstep-centrino: skip extract_clock logic for acpi based centrino

speedstep_centrino.c:extract_clock() assumes the bus speed of 100MHz, which is
not true with latest laptops. Due to this assumption and due to the encoded
frequency check during initialization, speedstep-centrino driver fails even
on systems that has proper ACPI information to do the P-state transition.

The change below moves the centrino-speedstep detection to be used only
when table based P-state transition is done. For ACPI based P-state
transition, we skip the centrino_cpu identification, and as a result we
don't use the bus speed assumption in extract_clock. This change makes
speedstep-centrino work on Pentium-M based systems, which have more than 100MHz
bus speed.

Signed-off-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Signed-off-by: Dave Jones <davej@redhat.com>
arch/i386/kernel/cpu/cpufreq/speedstep-centrino.c