Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 172876
b: refs/heads/master
c: 3915044
h: refs/heads/master
v: v3
  • Loading branch information
Bartlomiej Zolnierkiewicz authored and Jeff Garzik committed Dec 3, 2009
1 parent 2b272d0 commit ba700b8
Show file tree
Hide file tree
Showing 2 changed files with 11 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: 940a68de56c1952c29d9f3c1a769a82b1bdd2b67
refs/heads/master: 3915044468217d9c224b824c308e4d112666f58d
11 changes: 10 additions & 1 deletion trunk/drivers/ata/pata_hpt3x3.c
Original file line number Diff line number Diff line change
Expand Up @@ -255,8 +255,17 @@ static int hpt3x3_init_one(struct pci_dev *pdev, const struct pci_device_id *id)
#ifdef CONFIG_PM
static int hpt3x3_reinit_one(struct pci_dev *dev)
{
struct ata_host *host = dev_get_drvdata(&dev->dev);
int rc;

rc = ata_pci_device_do_resume(dev);
if (rc)
return rc;

hpt3x3_init_chipset(dev);
return ata_pci_device_resume(dev);

ata_host_resume(host);
return 0;
}
#endif

Expand Down

0 comments on commit ba700b8

Please sign in to comment.