]> git.baikalelectronics.ru Git - kernel.git/commit
[CPUFREQ] powernow-k8: Don't try to transition if the pstate is incorrect
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Thu, 16 Jun 2011 19:36:40 +0000 (15:36 -0400)
committerDave Jones <davej@redhat.com>
Thu, 16 Jun 2011 20:31:13 +0000 (16:31 -0400)
commit2c9dcf0ffd8d61a223ac85b7d6b325fe5cefea50
tree51e3d877cb3457bcd801175fb455927fd52f2d2b
parent2172ae41d7631beb50e6dc89c7885f8efa6d0248
[CPUFREQ] powernow-k8: Don't try to transition if the pstate is incorrect

This patch augments the pstate transition code to error out
(instead of returning 0) when an incorrect pstate is provided.

Suggested-by: Borislav Petkov <bp@alien8.de>
CC: andre.przywara@amd.com
CC: Mark.Langsdorf@amd.com
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: Dave Jones <davej@redhat.com>
drivers/cpufreq/powernow-k8.c