diff options
author | Julien Viard de Galbert <jviarddegalbert@online.net> | 2018-11-06 09:28:03 +0100 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2019-01-24 13:58:24 +0000 |
commit | c2540a958b5e8f4ad4ea0db24c408387ae1cb5f8 (patch) | |
tree | 1385b9322c95a70d42df80b90e127c7002de0233 /src/include/nhlt.h | |
parent | 016ef9e9bc36c60101b707a8c1c926e78350befa (diff) |
soc/intel/common/block/acpi: fix P-States extra entry
The ratio_max step is appearing twice when (ratio_max - ratio_min)
is evenly divisible by the ratio step.
This is because in this case there are no rounding down of ratio_max in
the for loop.
Thanks Jay Talbott for the step calculation algorithm.
Change-Id: I91090b4d87eb82b57055c24271d679d1cbb3b7a7
Signed-off-by: Julien Viard de Galbert <jviarddegalbert@online.net>
Reviewed-on: https://review.coreboot.org/c/25429
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'src/include/nhlt.h')
0 files changed, 0 insertions, 0 deletions