Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 28253
b: refs/heads/master
c: cde0e5d
h: refs/heads/master
i:
  28251: abc161b
v: v3
  • Loading branch information
MUNEDA Takahiro authored and Greg Kroah-Hartman committed Jun 19, 2006
1 parent 6c18af9 commit 0252f84
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c14424736e76f3d8477a41de531e6b5dcce3d5b0
refs/heads/master: cde0e5d722c77d1194f40de54a99c90afe365480
8 changes: 7 additions & 1 deletion trunk/drivers/pci/hotplug/acpiphp_glue.c
Original file line number Diff line number Diff line change
Expand Up @@ -1592,9 +1592,15 @@ int acpiphp_enable_slot(struct acpiphp_slot *slot)
if (retval)
goto err_exit;

if (get_slot_status(slot) == ACPI_STA_ALL)
if (get_slot_status(slot) == ACPI_STA_ALL) {
/* configure all functions */
retval = enable_device(slot);
if (retval)
power_off_slot(slot);
} else {
dbg("%s: Slot status is not ACPI_STA_ALL\n", __FUNCTION__);
power_off_slot(slot);
}

err_exit:
mutex_unlock(&slot->crit_sect);
Expand Down

0 comments on commit 0252f84

Please sign in to comment.