diff options
author | Felix Held <felix-coreboot@felixheld.de> | 2021-02-02 23:46:25 +0100 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2021-02-04 00:10:02 +0000 |
commit | 404aea866ce60af9f8756f0698dcd8293c0e81bf (patch) | |
tree | e4e5ca84c1c64cdf979229841b1cff04ba4e3e02 /src/drivers/analogix | |
parent | 585f4d46cca95d8b8219d21e0af5fb487827318a (diff) |
amd/common/block/acpi/pm_state: fix comparison in get_index_bit
In the case of passing 32 as limit the code returned -1, but should have
continued, since 32 is a valid value here.
Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Change-Id: I6ca341841bad62abcb4ea26a350c539813a29de7
Reviewed-on: https://review.coreboot.org/c/coreboot/+/50243
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Raul Rangel <rrangel@chromium.org>
Diffstat (limited to 'src/drivers/analogix')
0 files changed, 0 insertions, 0 deletions