ACPI / ACPICA: Defer enabling of runtime GPEs (v3)
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / drivers / acpi / acpica / utxface.c
index 7f8cefcb2b32da538adb9a2fb73e4dbae645924e..16cc48c2744b8c9101bae0eaf8d9794c6233d936 100644 (file)
@@ -289,19 +289,6 @@ acpi_status acpi_initialize_objects(u32 flags)
                }
        }
 
-       /*
-        * Complete the GPE initialization for the GPE blocks defined in the FADT
-        * (GPE block 0 and 1).
-        *
-        * NOTE: Currently, there seems to be no need to run the _REG methods
-        * before enabling the GPEs.
-        */
-       if (!(flags & ACPI_NO_EVENT_INIT)) {
-               status = acpi_ev_install_fadt_gpes();
-               if (ACPI_FAILURE(status))
-                       return (status);
-       }
-
        /*
         * Empty the caches (delete the cached objects) on the assumption that
         * the table load filled them up more than they will be at runtime --