mb/system76/adl-p: HACK: Fix S0ix on lemp11

Inform the EC to apply the PMC hack to allow the CPU to go to C10 during
suspend.

Change-Id: Id124b2e9249403cebf0038a172d2a324b81c433f
Signed-off-by: Tim Crawford <tcrawford@system76.com>
This commit is contained in:
Tim Crawford
2022-10-12 17:11:52 -06:00
committed by Jeremy Soller
parent f518736078
commit 4aeeb2ba4d

View File

@@ -37,6 +37,10 @@ Method (MWAK, 1, Serialized)
Method (MS0X, 1, Serialized)
{
If (Arg0 == 1) {
#if CONFIG_BOARD_SYSTEM76_LEMP11
/* HACK: Inform EC to apply PMC hack for S0ix issue */
\_SB.PCI0.LPCB.EC0.PTS (0)
#endif
/* S0ix Entry */
PGPM (MISCCFG_GPIO_PM_CONFIG_BITS)
} Else {