Skip to content

Commit dc68b40

Browse files
committed
PCI/PM: Correct pci_pm_thaw_noirq() documentation
According to the documentation, pci_pm_thaw_noirq() did not put the device into the full-power state and restore its standard configuration registers. This is incorrect, so update the documentation to match the code. Link: https://lore.kernel.org/r/20191014230016.240912-3-helgaas@kernel.org Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Reviewed-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
1 parent f2c33cc commit dc68b40

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

‎Documentation/power/pci.rst‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -600,17 +600,17 @@ using the following PCI bus type's callbacks::
600600

601601
respectively.
602602

603-
The first of them, pci_pm_thaw_noirq(), is analogous to pci_pm_resume_noirq(),
604-
but it doesn't put the device into the full power state and doesn't attempt to
605-
restore its standard configuration registers. It also executes the device
606-
driver's pm->thaw_noirq() callback, if defined, instead of pm->resume_noirq().
603+
The first of them, pci_pm_thaw_noirq(), is analogous to pci_pm_resume_noirq().
604+
It puts the device into the full power state and restores its standard
605+
configuration registers. It also executes the device driver's pm->thaw_noirq()
606+
callback, if defined, instead of pm->resume_noirq().
607607

608608
The pci_pm_thaw() routine is similar to pci_pm_resume(), but it runs the device
609609
driver's pm->thaw() callback instead of pm->resume(). It is executed
610610
asynchronously for different PCI devices that don't depend on each other in a
611611
known way.
612612

613-
The complete phase it the same as for system resume.
613+
The complete phase is the same as for system resume.
614614

615615
After saving the image, devices need to be powered down before the system can
616616
enter the target sleep state (ACPI S4 for ACPI-based systems). This is done in

0 commit comments

Comments
 (0)