The _EJ0 method should not return a value.
Signed-off-by: Kevin O'Connor kevin@koconnor.net --- src/fw/acpi-dsdt.dsl | 1 - src/fw/ssdt-pcihp.dsl | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/fw/acpi-dsdt.dsl b/src/fw/acpi-dsdt.dsl index 56243c3..3556dca 100644 --- a/src/fw/acpi-dsdt.dsl +++ b/src/fw/acpi-dsdt.dsl @@ -139,7 +139,6 @@ DefinitionBlock ( Method(PCEJ, 1, NotSerialized) { // _EJ0 method - eject callback Store(ShiftLeft(1, Arg0), B0EJ) - Return (0x0) }
/* Hotplug notification method supplied by SSDT */ diff --git a/src/fw/ssdt-pcihp.dsl b/src/fw/ssdt-pcihp.dsl index 67e485f..cb24c11 100644 --- a/src/fw/ssdt-pcihp.dsl +++ b/src/fw/ssdt-pcihp.dsl @@ -29,7 +29,7 @@ DefinitionBlock ("ssdt-pcihp.aml", "SSDT", 0x01, "BXPC", "BXSSDTPCIHP", 0x1) Name(_ADR, 0xAA0000) ACPI_EXTRACT_METHOD_STRING ssdt_pcihp_ej0 Method(_EJ0, 1) { - Return (PCEJ(_SUN)) + PCEJ(_SUN) } } }