Don't return an error from resume() if execution of _DIS fails for some
reason (not all BIOSen have _DIS methods for all link devices for example). This matches the behavior of attach() with respect to _DIS as well. Submitted by: njl
This commit is contained in:
parent
3ee3b45ab8
commit
2a9cc51580
@ -932,9 +932,10 @@ acpi_pci_link_resume(device_t dev)
|
||||
routed++;
|
||||
if (routed == sc->pl_num_links)
|
||||
status = acpi_pci_link_route_irqs(dev);
|
||||
else
|
||||
status = AcpiEvaluateObject(acpi_get_handle(dev), "_DIS", NULL,
|
||||
NULL);
|
||||
else {
|
||||
AcpiEvaluateObject(acpi_get_handle(dev), "_DIS", NULL, NULL);
|
||||
status = AE_OK;
|
||||
}
|
||||
ACPI_SERIAL_END(pci_link);
|
||||
if (ACPI_FAILURE(status))
|
||||
return (ENXIO);
|
||||
|
Loading…
x
Reference in New Issue
Block a user