* [PATCH] PM / runtime: Fix some typo
@ 2017-02-21 20:41 Christophe JAILLET
2017-02-21 21:26 ` Pavel Machek
0 siblings, 1 reply; 2+ messages in thread
From: Christophe JAILLET @ 2017-02-21 20:41 UTC (permalink / raw)
To: rjw, pavel, len.brown
Cc: linux-pm, linux-kernel, kernel-janitors, Christophe JAILLET
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
---
Documentation/power/runtime_pm.txt | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/Documentation/power/runtime_pm.txt b/Documentation/power/runtime_pm.txt
index 4870980e967e..64546eb9a16a 100644
--- a/Documentation/power/runtime_pm.txt
+++ b/Documentation/power/runtime_pm.txt
@@ -100,7 +100,7 @@ knows what to do to handle the device).
* If the suspend callback returns an error code different from -EBUSY and
-EAGAIN, the PM core regards this as a fatal error and will refuse to run
the helper functions described in Section 4 for the device until its status
- is directly set to either'active', or 'suspended' (the PM core provides
+ is directly set to either 'active', or 'suspended' (the PM core provides
special helper functions for this purpose).
In particular, if the driver requires remote wakeup capability (i.e. hardware
@@ -217,7 +217,7 @@ defined in include/linux/pm.h:
one to complete
spinlock_t lock;
- - lock used for synchronisation
+ - lock used for synchronization
atomic_t usage_count;
- the usage counter of the device
@@ -565,7 +565,7 @@ appropriate to ensure that the device is not put back to sleep during the
probe. This can happen with systems such as the network device layer.
It may be desirable to suspend the device once ->probe() has finished.
-Therefore the driver core uses the asyncronous pm_request_idle() to submit a
+Therefore the driver core uses the asynchronous pm_request_idle() to submit a
request to execute the subsystem-level idle callback for the device at that
time. A driver that makes use of the runtime autosuspend feature, may want to
update the last busy mark before returning from ->probe().
--
2.9.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] PM / runtime: Fix some typo
2017-02-21 20:41 [PATCH] PM / runtime: Fix some typo Christophe JAILLET
@ 2017-02-21 21:26 ` Pavel Machek
0 siblings, 0 replies; 2+ messages in thread
From: Pavel Machek @ 2017-02-21 21:26 UTC (permalink / raw)
To: Christophe JAILLET
Cc: rjw, len.brown, linux-pm, linux-kernel, kernel-janitors
[-- Attachment #1: Type: text/plain, Size: 2154 bytes --]
On Tue 2017-02-21 21:41:53, Christophe JAILLET wrote:
> Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Acked-by: Pavel Machek <pavel@ucw.cz>
> ---
> Documentation/power/runtime_pm.txt | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/Documentation/power/runtime_pm.txt b/Documentation/power/runtime_pm.txt
> index 4870980e967e..64546eb9a16a 100644
> --- a/Documentation/power/runtime_pm.txt
> +++ b/Documentation/power/runtime_pm.txt
> @@ -100,7 +100,7 @@ knows what to do to handle the device).
> * If the suspend callback returns an error code different from -EBUSY and
> -EAGAIN, the PM core regards this as a fatal error and will refuse to run
> the helper functions described in Section 4 for the device until its status
> - is directly set to either'active', or 'suspended' (the PM core provides
> + is directly set to either 'active', or 'suspended' (the PM core provides
> special helper functions for this purpose).
>
> In particular, if the driver requires remote wakeup capability (i.e. hardware
> @@ -217,7 +217,7 @@ defined in include/linux/pm.h:
> one to complete
>
> spinlock_t lock;
> - - lock used for synchronisation
> + - lock used for synchronization
>
> atomic_t usage_count;
> - the usage counter of the device
> @@ -565,7 +565,7 @@ appropriate to ensure that the device is not put back to sleep during the
> probe. This can happen with systems such as the network device layer.
>
> It may be desirable to suspend the device once ->probe() has finished.
> -Therefore the driver core uses the asyncronous pm_request_idle() to submit a
> +Therefore the driver core uses the asynchronous pm_request_idle() to submit a
> request to execute the subsystem-level idle callback for the device at that
> time. A driver that makes use of the runtime autosuspend feature, may want to
> update the last busy mark before returning from ->probe().
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-02-21 21:26 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-21 20:41 [PATCH] PM / runtime: Fix some typo Christophe JAILLET
2017-02-21 21:26 ` Pavel Machek
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).