aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/razer/blade_stealth_kbl/acpi/mainboard.asl
blob: be4aa5d281b2acb6934e8fcaae42da02a4d268f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/* SPDX-License-Identifier: GPL-2.0-only */

Scope (\_SB)
{
	Device (LID0)
	{
		Name (_HID, EisaId ("PNP0C0D"))

		Method (_LID)
		{
			if (\_SB.PCI0.LPCB.EC.LIDS > 1)
			{
				Return (One)
			}
			else
			{
				Return (Zero)
			}
		}

		Method (_STA)
		{
			Return (_LID)
		}
	}

}