Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 73188
b: refs/heads/master
c: ccb9d59
h: refs/heads/master
v: v3
  • Loading branch information
Dirk Hohndel authored and Greg Kroah-Hartman committed Nov 5, 2007
1 parent 9332759 commit 3b2697d
Show file tree
Hide file tree
Showing 2 changed files with 5 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: 00395410885cac96015850426bf697423a3ec9dc
refs/heads/master: ccb9d59e682d7bd758457b6d2458365cc68fad7a
5 changes: 4 additions & 1 deletion trunk/drivers/serial/8250_pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -1986,6 +1986,7 @@ static int pciserial_suspend_one(struct pci_dev *dev, pm_message_t state)

static int pciserial_resume_one(struct pci_dev *dev)
{
int err;
struct serial_private *priv = pci_get_drvdata(dev);

pci_set_power_state(dev, PCI_D0);
Expand All @@ -1995,7 +1996,9 @@ static int pciserial_resume_one(struct pci_dev *dev)
/*
* The device may have been disabled. Re-enable it.
*/
pci_enable_device(dev);
err = pci_enable_device(dev);
if (err)
return err;

pciserial_resume_ports(priv);
}
Expand Down

0 comments on commit 3b2697d

Please sign in to comment.