Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 286198
b: refs/heads/master
c: 28e7d21
h: refs/heads/master
v: v3
  • Loading branch information
Rafał Miłecki authored and John W. Linville committed Jan 16, 2012
1 parent c1498ea commit bc7e241
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 8675b505a4df40394096948453a17cc5445f6538
refs/heads/master: 28e7d218da975f6ae1751e293aed938952c55c98
3 changes: 3 additions & 0 deletions trunk/drivers/bcma/host_pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -237,11 +237,14 @@ static void bcma_host_pci_remove(struct pci_dev *dev)
#ifdef CONFIG_PM
static int bcma_host_pci_suspend(struct pci_dev *dev, pm_message_t state)
{
struct bcma_bus *bus = pci_get_drvdata(dev);

/* Host specific */
pci_save_state(dev);
pci_disable_device(dev);
pci_set_power_state(dev, pci_choose_state(dev, state));

bus->mapped_core = NULL;
return 0;
}

Expand Down

0 comments on commit bc7e241

Please sign in to comment.