Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 343265
b: refs/heads/master
c: 71fbad6
h: refs/heads/master
i:
  343263: 116e950
v: v3
  • Loading branch information
Huang Ying authored and Bjorn Helgaas committed Nov 13, 2012
1 parent ac33b27 commit 71b5be1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: eba48cd0f05ff7a2f82291feae169c14b61b29af
refs/heads/master: 71fbad6c9a28629b6af40b0ff48f36c6610a1394
2 changes: 2 additions & 0 deletions trunk/drivers/acpi/pci_bind.c
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ static int acpi_pci_unbind(struct acpi_device *device)

device_set_run_wake(&dev->dev, false);
pci_acpi_remove_pm_notifier(device);
acpi_power_resource_unregister_device(&dev->dev, device->handle);

if (!dev->subordinate)
goto out;
Expand All @@ -71,6 +72,7 @@ static int acpi_pci_bind(struct acpi_device *device)
return 0;

pci_acpi_add_pm_notifier(device, dev);
acpi_power_resource_register_device(&dev->dev, device->handle);
if (device->wakeup.flags.run_wake)
device_set_run_wake(&dev->dev, true);

Expand Down

0 comments on commit 71b5be1

Please sign in to comment.