diff options
author | Masanari Iida <standby24x7@gmail.com> | 2014-11-08 03:54:51 -0500 |
---|---|---|
committer | Jonathan Corbet <corbet@lwn.net> | 2014-11-08 09:15:14 -0500 |
commit | 1f999d14fc7f772fbdd19151ebe5ee081f53dd49 (patch) | |
tree | 3b486ac3b990618d97635d5a2689ac56052a98f9 /Documentation/power | |
parent | c0d7305cb3e5e77dba822706e21898314e893fb7 (diff) |
Documentation: power: Fix typo in Documentation/power
This patch fix spelling typos found in Documentation/power.
Signed-off-by: Masanari Iida <standby24x7@gmail.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'Documentation/power')
-rw-r--r-- | Documentation/power/runtime_pm.txt | 6 | ||||
-rw-r--r-- | Documentation/power/suspend-and-interrupts.txt | 2 | ||||
-rw-r--r-- | Documentation/power/userland-swsusp.txt | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/Documentation/power/runtime_pm.txt b/Documentation/power/runtime_pm.txt index f32ce5419573..0e5ea26b255a 100644 --- a/Documentation/power/runtime_pm.txt +++ b/Documentation/power/runtime_pm.txt | |||
@@ -229,13 +229,13 @@ defined in include/linux/pm.h: | |||
229 | - if set, the value of child_count is ignored (but still updated) | 229 | - if set, the value of child_count is ignored (but still updated) |
230 | 230 | ||
231 | unsigned int disable_depth; | 231 | unsigned int disable_depth; |
232 | - used for disabling the helper funcions (they work normally if this is | 232 | - used for disabling the helper functions (they work normally if this is |
233 | equal to zero); the initial value of it is 1 (i.e. runtime PM is | 233 | equal to zero); the initial value of it is 1 (i.e. runtime PM is |
234 | initially disabled for all devices) | 234 | initially disabled for all devices) |
235 | 235 | ||
236 | int runtime_error; | 236 | int runtime_error; |
237 | - if set, there was a fatal error (one of the callbacks returned error code | 237 | - if set, there was a fatal error (one of the callbacks returned error code |
238 | as described in Section 2), so the helper funtions will not work until | 238 | as described in Section 2), so the helper functions will not work until |
239 | this flag is cleared; this is the error code returned by the failing | 239 | this flag is cleared; this is the error code returned by the failing |
240 | callback | 240 | callback |
241 | 241 | ||
@@ -524,7 +524,7 @@ pm_runtime_put_sync_autosuspend() | |||
524 | 5. Runtime PM Initialization, Device Probing and Removal | 524 | 5. Runtime PM Initialization, Device Probing and Removal |
525 | 525 | ||
526 | Initially, the runtime PM is disabled for all devices, which means that the | 526 | Initially, the runtime PM is disabled for all devices, which means that the |
527 | majority of the runtime PM helper funtions described in Section 4 will return | 527 | majority of the runtime PM helper functions described in Section 4 will return |
528 | -EAGAIN until pm_runtime_enable() is called for the device. | 528 | -EAGAIN until pm_runtime_enable() is called for the device. |
529 | 529 | ||
530 | In addition to that, the initial runtime PM status of all devices is | 530 | In addition to that, the initial runtime PM status of all devices is |
diff --git a/Documentation/power/suspend-and-interrupts.txt b/Documentation/power/suspend-and-interrupts.txt index 69663640dea5..2f9c5a5fcb25 100644 --- a/Documentation/power/suspend-and-interrupts.txt +++ b/Documentation/power/suspend-and-interrupts.txt | |||
@@ -77,7 +77,7 @@ Calling enable_irq_wake() causes suspend_device_irqs() to treat the given IRQ | |||
77 | in a special way. Namely, the IRQ remains enabled, by on the first interrupt | 77 | in a special way. Namely, the IRQ remains enabled, by on the first interrupt |
78 | it will be disabled, marked as pending and "suspended" so that it will be | 78 | it will be disabled, marked as pending and "suspended" so that it will be |
79 | re-enabled by resume_device_irqs() during the subsequent system resume. Also | 79 | re-enabled by resume_device_irqs() during the subsequent system resume. Also |
80 | the PM core is notified about the event which casues the system suspend in | 80 | the PM core is notified about the event which causes the system suspend in |
81 | progress to be aborted (that doesn't have to happen immediately, but at one | 81 | progress to be aborted (that doesn't have to happen immediately, but at one |
82 | of the points where the suspend thread looks for pending wakeup events). | 82 | of the points where the suspend thread looks for pending wakeup events). |
83 | 83 | ||
diff --git a/Documentation/power/userland-swsusp.txt b/Documentation/power/userland-swsusp.txt index 0e870825c1b9..bbfcd1bbedc5 100644 --- a/Documentation/power/userland-swsusp.txt +++ b/Documentation/power/userland-swsusp.txt | |||
@@ -99,7 +99,7 @@ SNAPSHOT_S2RAM - suspend to RAM; using this call causes the kernel to | |||
99 | The device's read() operation can be used to transfer the snapshot image from | 99 | The device's read() operation can be used to transfer the snapshot image from |
100 | the kernel. It has the following limitations: | 100 | the kernel. It has the following limitations: |
101 | - you cannot read() more than one virtual memory page at a time | 101 | - you cannot read() more than one virtual memory page at a time |
102 | - read()s across page boundaries are impossible (ie. if ypu read() 1/2 of | 102 | - read()s across page boundaries are impossible (ie. if you read() 1/2 of |
103 | a page in the previous call, you will only be able to read() | 103 | a page in the previous call, you will only be able to read() |
104 | _at_ _most_ 1/2 of the page in the next call) | 104 | _at_ _most_ 1/2 of the page in the next call) |
105 | 105 | ||