forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-04 1543e317f1da31b75942316931e8f491a8920811
kernel/drivers/acpi/acpica/evgpe.c
....@@ -3,7 +3,7 @@
33 *
44 * Module Name: evgpe - General Purpose Event handling and dispatch
55 *
6
- * Copyright (C) 2000 - 2018, Intel Corp.
6
+ * Copyright (C) 2000 - 2020, Intel Corp.
77 *
88 *****************************************************************************/
99
....@@ -656,14 +656,14 @@
656656
657657 /* GPE currently enabled (enable bit == 1)? */
658658
659
- status = acpi_hw_read(&enable_reg, &gpe_register_info->enable_address);
659
+ status = acpi_hw_gpe_read(&enable_reg, &gpe_register_info->enable_address);
660660 if (ACPI_FAILURE(status)) {
661661 goto error_exit;
662662 }
663663
664664 /* GPE currently active (status bit == 1)? */
665665
666
- status = acpi_hw_read(&status_reg, &gpe_register_info->status_address);
666
+ status = acpi_hw_gpe_read(&status_reg, &gpe_register_info->status_address);
667667 if (ACPI_FAILURE(status)) {
668668 goto error_exit;
669669 }
....@@ -807,7 +807,7 @@
807807 dispatch.handler->
808808 context);
809809
810
- /* If requested, clear (if level-triggered) and reenable the GPE */
810
+ /* If requested, clear (if level-triggered) and re-enable the GPE */
811811
812812 if (return_value & ACPI_REENABLE_GPE) {
813813 (void)acpi_ev_finish_gpe(gpe_event_info);