Commit 4c99256
gpiolib: acpi: Add wake_capable variants of acpi_dev_gpio_irq_get
The ACPI spec defines the SharedAndWake and ExclusiveAndWake share type
keywords. This is an indication that the GPIO IRQ can also be used as a
wake source. This change exposes the wake_capable bit so drivers can
correctly enable wake functionality instead of making an assumption.
Signed-off-by: Raul E Rangel <[email protected]>
Reviewed-by: Mika Westerberg <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>1 parent f76349c commit 4c99256
File tree
3 files changed
+31
-7
lines changed- drivers/gpio
- include/linux
3 files changed
+31
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
741 | 741 | | |
742 | 742 | | |
743 | 743 | | |
| 744 | + | |
744 | 745 | | |
745 | 746 | | |
746 | 747 | | |
| |||
987 | 988 | | |
988 | 989 | | |
989 | 990 | | |
990 | | - | |
| 991 | + | |
991 | 992 | | |
992 | 993 | | |
993 | 994 | | |
| 995 | + | |
994 | 996 | | |
995 | 997 | | |
996 | 998 | | |
| |||
1002 | 1004 | | |
1003 | 1005 | | |
1004 | 1006 | | |
| 1007 | + | |
| 1008 | + | |
| 1009 | + | |
1005 | 1010 | | |
1006 | 1011 | | |
1007 | | - | |
| 1012 | + | |
| 1013 | + | |
1008 | 1014 | | |
1009 | 1015 | | |
1010 | 1016 | | |
| |||
1061 | 1067 | | |
1062 | 1068 | | |
1063 | 1069 | | |
| 1070 | + | |
| 1071 | + | |
| 1072 | + | |
1064 | 1073 | | |
1065 | 1074 | | |
1066 | 1075 | | |
1067 | 1076 | | |
1068 | 1077 | | |
1069 | 1078 | | |
1070 | | - | |
| 1079 | + | |
1071 | 1080 | | |
1072 | 1081 | | |
1073 | 1082 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| |||
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
| 32 | + | |
31 | 33 | | |
32 | 34 | | |
33 | 35 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1202 | 1202 | | |
1203 | 1203 | | |
1204 | 1204 | | |
1205 | | - | |
| 1205 | + | |
| 1206 | + | |
1206 | 1207 | | |
1207 | 1208 | | |
1208 | 1209 | | |
| |||
1214 | 1215 | | |
1215 | 1216 | | |
1216 | 1217 | | |
1217 | | - | |
1218 | | - | |
| 1218 | + | |
| 1219 | + | |
1219 | 1220 | | |
1220 | 1221 | | |
1221 | 1222 | | |
1222 | 1223 | | |
1223 | 1224 | | |
| 1225 | + | |
| 1226 | + | |
| 1227 | + | |
| 1228 | + | |
| 1229 | + | |
| 1230 | + | |
| 1231 | + | |
| 1232 | + | |
| 1233 | + | |
| 1234 | + | |
| 1235 | + | |
| 1236 | + | |
1224 | 1237 | | |
1225 | 1238 | | |
1226 | | - | |
| 1239 | + | |
1227 | 1240 | | |
1228 | 1241 | | |
1229 | 1242 | | |
| |||
0 commit comments