ec/quanta/it8518/acpi: Replace LNot() with ASL 2.0 syntax
Replace `LNot (a)` with `!a`. Change-Id: I98ac7a9c1cd16609cf6bd38e1bd9bf8cf54817fb Signed-off-by: Felix Singer <felixsinger@posteo.net> Reviewed-on: https://review.coreboot.org/c/coreboot/+/60595 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
This commit is contained in:
parent
9dafc29cae
commit
ecc63d9bf4
|
@ -275,7 +275,7 @@ Device (BATX)
|
||||||
}
|
}
|
||||||
Else
|
Else
|
||||||
{
|
{
|
||||||
If (LNot (AND (Local0, 2)))
|
If (!(AND (Local0, 2)))
|
||||||
{
|
{
|
||||||
// Battery is not charging
|
// Battery is not charging
|
||||||
Store (Zero, Local1)
|
Store (Zero, Local1)
|
||||||
|
@ -306,7 +306,7 @@ Device (BATX)
|
||||||
Store (ECRC, Local1)
|
Store (ECRC, Local1)
|
||||||
}
|
}
|
||||||
|
|
||||||
If (BFWK && ACPW && LNot (Local0))
|
If (BFWK && ACPW && !Local0)
|
||||||
{
|
{
|
||||||
// On AC power and battery is neither charging
|
// On AC power and battery is neither charging
|
||||||
// nor discharging. Linux expects a full battery
|
// nor discharging. Linux expects a full battery
|
||||||
|
|
Loading…
Reference in New Issue