mb/google/brya/acpi: Correct _DSM GPS function for revision check

The logic was not equals, rather than the intended greater than or
equal to for checking the minimum GPS revision.

TEST=version check passes as expected now
BUG=b:271938907
Signed-off-by: Tarun Tuli <taruntuli@google.com>
Change-Id: I66bf1fc32295e1b9e9c41c661ea8e395a1592a86
Reviewed-on: https://review.coreboot.org/c/coreboot/+/73897
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
This commit is contained in:
Tarun Tuli 2023-03-30 12:35:42 +00:00 committed by Felix Held
parent 78cc76d204
commit 64e540a7d8
1 changed files with 1 additions and 1 deletions

View File

@ -85,7 +85,7 @@ Scope (\_SB.PCI0.PEG0)
} }
ElseIf (Arg0 == ToUUID (UUID_GPS)) ElseIf (Arg0 == ToUUID (UUID_GPS))
{ {
If (ToInteger (Arg1) != REVISION_MIN_GPS) If (ToInteger (Arg1) >= REVISION_MIN_GPS)
{ {
Return (GPS (Arg2, Arg3)) Return (GPS (Arg2, Arg3))
} }