lemp9: remove sleeps from ACPI tables
This commit is contained in:
@@ -84,8 +84,6 @@ Device (EC0)
|
|||||||
Notify(^^^^AC, Zero)
|
Notify(^^^^AC, Zero)
|
||||||
Notify(^^^^BAT0, Zero)
|
Notify(^^^^BAT0, Zero)
|
||||||
|
|
||||||
Sleep (1000)
|
|
||||||
|
|
||||||
// Reset System76 Device
|
// Reset System76 Device
|
||||||
^^^^S76D.RSET()
|
^^^^S76D.RSET()
|
||||||
}
|
}
|
||||||
@@ -163,13 +161,10 @@ Device (EC0)
|
|||||||
Debug = "EC: AC Detect"
|
Debug = "EC: AC Detect"
|
||||||
^^^^AC.ACFG = ADP
|
^^^^AC.ACFG = ADP
|
||||||
Notify (AC, 0x80) // Status Change
|
Notify (AC, 0x80) // Status Change
|
||||||
Sleep (0x01F4)
|
|
||||||
If (BAT0)
|
If (BAT0)
|
||||||
{
|
{
|
||||||
Notify (^^^^BAT0, 0x81) // Information Change
|
Notify (^^^^BAT0, 0x81) // Information Change
|
||||||
Sleep (0x32)
|
|
||||||
Notify (^^^^BAT0, 0x80) // Status Change
|
Notify (^^^^BAT0, 0x80) // Status Change
|
||||||
Sleep (0x32)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user