aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/events/evxfevnt.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/acpi/events/evxfevnt.c')
-rw-r--r--drivers/acpi/events/evxfevnt.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/acpi/events/evxfevnt.c b/drivers/acpi/events/evxfevnt.c
index 73bfd6bf962f..211e93a90e95 100644
--- a/drivers/acpi/events/evxfevnt.c
+++ b/drivers/acpi/events/evxfevnt.c
@@ -521,6 +521,9 @@ acpi_status acpi_get_event_status(u32 event, acpi_event_status * event_status)
521 if (value) 521 if (value)
522 *event_status |= ACPI_EVENT_FLAG_SET; 522 *event_status |= ACPI_EVENT_FLAG_SET;
523 523
524 if (acpi_gbl_fixed_event_handlers[event].handler)
525 *event_status |= ACPI_EVENT_FLAG_HANDLE;
526
524 return_ACPI_STATUS(status); 527 return_ACPI_STATUS(status);
525} 528}
526 529
@@ -571,6 +574,9 @@ acpi_get_gpe_status(acpi_handle gpe_device,
571 574
572 status = acpi_hw_get_gpe_status(gpe_event_info, event_status); 575 status = acpi_hw_get_gpe_status(gpe_event_info, event_status);
573 576
577 if (gpe_event_info->flags & ACPI_GPE_DISPATCH_MASK)
578 *event_status |= ACPI_EVENT_FLAG_HANDLE;
579
574 unlock_and_exit: 580 unlock_and_exit:
575 if (flags & ACPI_NOT_ISR) { 581 if (flags & ACPI_NOT_ISR) {
576 (void)acpi_ut_release_mutex(ACPI_MTX_EVENTS); 582 (void)acpi_ut_release_mutex(ACPI_MTX_EVENTS);