scan.c (b7a40242c82cd73cfcea305f23e67d068dd8401a) | scan.c (2f8572344e65296d13c1a771cacfea60916d91dc) |
---|---|
1/* 2 * scan.c - support for transforming the ACPI namespace into individual objects 3 */ 4 5#include <linux/module.h> 6#include <linux/init.h> 7#include <linux/slab.h> 8#include <linux/kernel.h> --- 1456 unchanged lines hidden (view full) --- 1465 1466 acpi_setup_gpe_for_wake(device->handle, wakeup->gpe_device, 1467 wakeup->gpe_number); 1468 status = acpi_get_gpe_status(wakeup->gpe_device, wakeup->gpe_number, 1469 &event_status); 1470 if (ACPI_FAILURE(status)) 1471 return; 1472 | 1/* 2 * scan.c - support for transforming the ACPI namespace into individual objects 3 */ 4 5#include <linux/module.h> 6#include <linux/init.h> 7#include <linux/slab.h> 8#include <linux/kernel.h> --- 1456 unchanged lines hidden (view full) --- 1465 1466 acpi_setup_gpe_for_wake(device->handle, wakeup->gpe_device, 1467 wakeup->gpe_number); 1468 status = acpi_get_gpe_status(wakeup->gpe_device, wakeup->gpe_number, 1469 &event_status); 1470 if (ACPI_FAILURE(status)) 1471 return; 1472 |
1473 wakeup->flags.run_wake = !!(event_status & ACPI_EVENT_FLAG_HANDLE); | 1473 wakeup->flags.run_wake = !!(event_status & ACPI_EVENT_FLAG_HAS_HANDLER); |
1474} 1475 1476static void acpi_bus_get_wakeup_device_flags(struct acpi_device *device) 1477{ 1478 int err; 1479 1480 /* Presence of _PRW indicates wake capable */ 1481 if (!acpi_has_method(device->handle, "_PRW")) --- 867 unchanged lines hidden --- | 1474} 1475 1476static void acpi_bus_get_wakeup_device_flags(struct acpi_device *device) 1477{ 1478 int err; 1479 1480 /* Presence of _PRW indicates wake capable */ 1481 if (!acpi_has_method(device->handle, "_PRW")) --- 867 unchanged lines hidden --- |