diff options
| author | John Baldwin <jhb@FreeBSD.org> | 2006-09-21 18:56:03 +0000 |
|---|---|---|
| committer | John Baldwin <jhb@FreeBSD.org> | 2006-09-21 18:56:03 +0000 |
| commit | e7a975adbec099accce5af497a799251b43ec02d (patch) | |
| tree | a2ef25d613c38c6723eb867a0f65a54f708373a2 /sys/dev | |
| parent | 24c2567f033ee0a2f79620795d0c2d6ddacb1e0c (diff) | |
Notes
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/acpica/acpi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/acpica/acpi.c b/sys/dev/acpica/acpi.c index 7bcfdf29e3537..1ec0afb572679 100644 --- a/sys/dev/acpica/acpi.c +++ b/sys/dev/acpica/acpi.c @@ -1083,7 +1083,7 @@ acpi_release_resource(device_t bus, device_t child, int type, int rid, * If we know about this address, deactivate it and release it to the * local pool. If we don't, pass this request up to the parent. */ - if (acpi_sysres_find(bus, type, rman_get_start(r)) == NULL) { + if (acpi_sysres_find(bus, type, rman_get_start(r)) != NULL) { if (rman_get_flags(r) & RF_ACTIVE) { ret = bus_deactivate_resource(child, type, rid, r); if (ret != 0) |
