mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-01 03:11:59 +00:00
PM / Sleep: Correct inaccurate information in devices.txt
The documentation file Documentation/power/devices.txt contains some information that isn't correct any more due to code modifications made after that file had been created (or updated last time). Fix this. Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
This commit is contained in:
parent
5841eb6402
commit
fa8ce72393
1 changed files with 3 additions and 4 deletions
|
@ -250,7 +250,7 @@ for every device before the next phase begins. Not all busses or classes
|
||||||
support all these callbacks and not all drivers use all the callbacks. The
|
support all these callbacks and not all drivers use all the callbacks. The
|
||||||
various phases always run after tasks have been frozen and before they are
|
various phases always run after tasks have been frozen and before they are
|
||||||
unfrozen. Furthermore, the *_noirq phases run at a time when IRQ handlers have
|
unfrozen. Furthermore, the *_noirq phases run at a time when IRQ handlers have
|
||||||
been disabled (except for those marked with the IRQ_WAKEUP flag).
|
been disabled (except for those marked with the IRQF_NO_SUSPEND flag).
|
||||||
|
|
||||||
All phases use PM domain, bus, type, or class callbacks (that is, methods
|
All phases use PM domain, bus, type, or class callbacks (that is, methods
|
||||||
defined in dev->pm_domain->ops, dev->bus->pm, dev->type->pm, or dev->class->pm).
|
defined in dev->pm_domain->ops, dev->bus->pm, dev->type->pm, or dev->class->pm).
|
||||||
|
@ -295,9 +295,8 @@ When the system goes into the standby or memory sleep state, the phases are:
|
||||||
|
|
||||||
After the prepare callback method returns, no new children may be
|
After the prepare callback method returns, no new children may be
|
||||||
registered below the device. The method may also prepare the device or
|
registered below the device. The method may also prepare the device or
|
||||||
driver in some way for the upcoming system power transition (for
|
driver in some way for the upcoming system power transition, but it
|
||||||
example, by allocating additional memory required for this purpose), but
|
should not put the device into a low-power state.
|
||||||
it should not put the device into a low-power state.
|
|
||||||
|
|
||||||
2. The suspend methods should quiesce the device to stop it from performing
|
2. The suspend methods should quiesce the device to stop it from performing
|
||||||
I/O. They also may save the device registers and put it into the
|
I/O. They also may save the device registers and put it into the
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue