Angel Pons | 2c82fe3 | 2020-04-03 01:23:06 +0200 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
Johanna Schander | 431d008 | 2019-07-22 09:24:14 +0200 | [diff] [blame] | 2 | |
3 | Scope (\_SB) | ||||
4 | { | ||||
5 | Device (LID0) | ||||
6 | { | ||||
7 | Name (_HID, EisaId ("PNP0C0D")) | ||||
8 | |||||
9 | Method (_LID) | ||||
10 | { | ||||
11 | if (\_SB.PCI0.LPCB.EC.LIDS > 1) | ||||
12 | { | ||||
Felix Singer | dfbb634 | 2022-12-26 08:39:35 +0100 | [diff] [blame] | 13 | Return (1) |
Johanna Schander | 431d008 | 2019-07-22 09:24:14 +0200 | [diff] [blame] | 14 | } |
15 | else | ||||
16 | { | ||||
Felix Singer | fa06bcb | 2022-12-26 09:32:47 +0100 | [diff] [blame^] | 17 | Return (0) |
Johanna Schander | 431d008 | 2019-07-22 09:24:14 +0200 | [diff] [blame] | 18 | } |
19 | } | ||||
20 | |||||
21 | Method (_STA) | ||||
22 | { | ||||
23 | Return (_LID) | ||||
24 | } | ||||
25 | } | ||||
26 | |||||
Johanna Schander | 431d008 | 2019-07-22 09:24:14 +0200 | [diff] [blame] | 27 | } |