summaryrefslogtreecommitdiff
path: root/drivers/cpufreq/db8500-cpufreq.c
diff options
context:
space:
mode:
authorAndreas Herrmann <andreas.herrmann3@amd.com>2012-01-06 18:57:55 +0400
committerDave Jones <davej@redhat.com>2012-01-06 19:10:53 +0400
commita8eb28480e9b637cc78b9aa5e08612ba97e1317a (patch)
treee6aeca464fb9f3769c8376c591b063f3c54d3938 /drivers/cpufreq/db8500-cpufreq.c
parent201bf0f129e1715a33568d1563d9a75b840ab4d3 (diff)
downloadlinux-a8eb28480e9b637cc78b9aa5e08612ba97e1317a.tar.xz
[CPUFREQ] powernow-k8: Fix indexing issue
The driver uses the pstate number from the status register as index in its table of ACPI pstates (powernow_table). This is wrong as this is not a 1-to-1 mapping. For example we can have _PSS information to just utilize Pstate 0 and Pstate 4, ie. powernow-k8: Core Performance Boosting: on. powernow-k8: 0 : pstate 0 (2200 MHz) powernow-k8: 1 : pstate 4 (1400 MHz) In this example the driver's powernow_table has just 2 entries. Using the pstate number (4) as index into this table is just plain wrong. Signed-off-by: Andreas Herrmann <andreas.herrmann3@amd.com> Signed-off-by: Dave Jones <davej@redhat.com>
Diffstat (limited to 'drivers/cpufreq/db8500-cpufreq.c')
0 files changed, 0 insertions, 0 deletions