summaryrefslogtreecommitdiff
path: root/src/soc/amd/stoneyridge/pstate_util.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/amd/stoneyridge/pstate_util.c')
-rw-r--r--src/soc/amd/stoneyridge/pstate_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/amd/stoneyridge/pstate_util.c b/src/soc/amd/stoneyridge/pstate_util.c
index 097a913029..12bc2b5cfa 100644
--- a/src/soc/amd/stoneyridge/pstate_util.c
+++ b/src/soc/amd/stoneyridge/pstate_util.c
@@ -21,7 +21,7 @@ static bool all_pstates_have_same_frequency_id(void)
bool first = true;
uint32_t frequency_id;
- for (i = 0; i < 7; i++) {
+ for (i = 0; i < 8; i++) {
pstate_reg.raw = rdmsr(PSTATE_MSR(i)).raw;
if (!pstate_reg.pstate_en)