Bugzilla – Attachment 113081 Details for
Bug 231088
Resume after suspend to disk fails
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Forgot Password
[patch]
debug patch
pm-debug.patch (text/plain), 1.55 KB, created by
Tejun Heo
on 2007-01-16 11:16:40 UTC
(
hide
)
Description:
debug patch
Filename:
MIME Type:
Creator:
Tejun Heo
Created:
2007-01-16 11:16:40 UTC
Size:
1.55 KB
patch
obsolete
>diff --git a/drivers/ata/libata-core.c b/drivers/ata/libata-core.c >index 37a979c..cc6b4a1 100644 >--- a/drivers/ata/libata-core.c >+++ b/drivers/ata/libata-core.c >@@ -5265,7 +5265,7 @@ int ata_host_suspend(struct ata_host *host, pm_message_t mesg) > { > int i, j, rc; > >- rc = ata_host_request_pm(host, mesg, 0, ATA_EHI_QUIET, 1); >+ rc = ata_host_request_pm(host, mesg, 0, 0/*ATA_EHI_QUIET*/, 1); > if (rc) > goto fail; > >@@ -5311,7 +5311,7 @@ int ata_host_suspend(struct ata_host *host, pm_message_t mesg) > 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); >+ ATA_EHI_NO_AUTOPSY/* | ATA_EHI_QUIET*/, 0); > host->dev->power.power_state = PMSG_ON; > } > >diff --git a/drivers/ata/libata-scsi.c b/drivers/ata/libata-scsi.c >index bf5b1b3..a524797 100644 >--- a/drivers/ata/libata-scsi.c >+++ b/drivers/ata/libata-scsi.c >@@ -473,7 +473,7 @@ int ata_scsi_device_suspend(struct scsi_device *sdev, pm_message_t mesg) > if (mesg.event != PM_EVENT_SUSPEND) > action |= ATA_EH_PM_FREEZE; > ap->eh_info.dev_action[dev->devno] |= action; >- ap->eh_info.flags |= ATA_EHI_QUIET; >+ /*ap->eh_info.flags |= ATA_EHI_QUIET;*/ > ata_port_schedule_eh(ap); > > spin_unlock_irqrestore(ap->lock, flags); >@@ -543,7 +543,7 @@ int ata_scsi_device_resume(struct scsi_device *sdev) > * those if we're the only device on this link. > */ > if (ata_port_max_devices(ap) == 1) >- ehi->flags |= ATA_EHI_NO_AUTOPSY | ATA_EHI_QUIET; >+ ehi->flags |= ATA_EHI_NO_AUTOPSY/* | ATA_EHI_QUIET*/; > > ata_port_schedule_eh(ap); >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
Actions:
View
|
Diff
Attachments on
bug 231088
:
111197
|
111198
|
113021
|
113022
|
113081
|
113103
|
113123
|
113274
|
113341
|
113426