summaryrefslogtreecommitdiff
path: root/src/mainboard/lenovo/x201/acpi/gpe.asl
blob: 62e7b37bb47067f6f6803c656137cdeeba92928c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* SPDX-License-Identifier: GPL-2.0-only */

Scope (\_GPE)
{
	Method(_L18, 0, NotSerialized)
	{
		/* Read EC register to clear wake status */
		Store(\_SB.PCI0.LPCB.EC.WAKE, Local0)
		/* So that we don't get a warning that Local0 is unused. */
		Increment (Local0)
	}
}