Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 288295
b: refs/heads/master
c: 2a15cd2
h: refs/heads/master
i:
  288293: a801bf8
  288291: 6eaf41d
  288287: 5d4ae2c
v: v3
  • Loading branch information
françois romieu authored and David S. Miller committed Mar 6, 2012
1 parent dc85161 commit 3813e27
Show file tree
Hide file tree
Showing 2 changed files with 6 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: 4648dc97af9d496218a05353b0e442b3dfa6aaab
refs/heads/master: 2a15cd2ff488a9fdb55e5e34060f499853b27c77
5 changes: 5 additions & 0 deletions trunk/drivers/net/ethernet/realtek/r8169.c
Original file line number Diff line number Diff line change
Expand Up @@ -6194,6 +6194,9 @@ static void rtl_shutdown(struct pci_dev *pdev)
{
struct net_device *dev = pci_get_drvdata(pdev);
struct rtl8169_private *tp = netdev_priv(dev);
struct device *d = &pdev->dev;

pm_runtime_get_sync(d);

rtl8169_net_suspend(dev);

Expand All @@ -6215,6 +6218,8 @@ static void rtl_shutdown(struct pci_dev *pdev)
pci_wake_from_d3(pdev, true);
pci_set_power_state(pdev, PCI_D3hot);
}

pm_runtime_put_noidle(d);
}

static struct pci_driver rtl8169_pci_driver = {
Expand Down

0 comments on commit 3813e27

Please sign in to comment.