Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 86379
b: refs/heads/master
c: 72ad6ec
h: refs/heads/master
i:
  86377: edcf1f0
  86375: 244bee4
v: v3
  • Loading branch information
Jeff Garzik committed Feb 25, 2008
1 parent f7aac60 commit 59ca779
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: c5c61bda5ecceaa0f16d326cd2c2147468a4c443
refs/heads/master: 72ad6ec48989d4b5477128e739b960be11155036
3 changes: 3 additions & 0 deletions trunk/drivers/ata/libata-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -6567,6 +6567,8 @@ int ata_host_suspend(struct ata_host *host, pm_message_t mesg)
ata_lpm_enable(host);

rc = ata_host_request_pm(host, mesg, 0, ATA_EHI_QUIET, 1);
if (rc == 0)
host->dev->power.power_state = mesg;
return rc;
}

Expand All @@ -6585,6 +6587,7 @@ void ata_host_resume(struct ata_host *host)
{
ata_host_request_pm(host, PMSG_ON, ATA_EH_SOFTRESET,
ATA_EHI_NO_AUTOPSY | ATA_EHI_QUIET, 0);
host->dev->power.power_state = PMSG_ON;

/* reenable link pm */
ata_lpm_disable(host);
Expand Down

0 comments on commit 59ca779

Please sign in to comment.