All of lore.kernel.org
 help / color / mirror / Atom feed
* [RESEND PATCH] Documentation: input: ff: fix small typos
@ 2018-01-18 21:49 Jean-François Têtu
  2018-01-19 17:33 ` Dmitry Torokhov
  0 siblings, 1 reply; 2+ messages in thread
From: Jean-François Têtu @ 2018-01-18 21:49 UTC (permalink / raw)
  To: Dmitry Torokhov
  Cc: Jonathan Corbet, linux-input, linux-doc, linux-kernel,
	Jean-François Têtu

Fix small typos in the Instructions and Uploading sections. Fix a typo in
the start/stop effect example usage code.

Signed-off-by: Jean-François Têtu <jean-francois.tetu@savoirfairelinux.com>
---
 Documentation/input/ff.rst | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/Documentation/input/ff.rst b/Documentation/input/ff.rst
index 26d461998e08..0c02e87ee86d 100644
--- a/Documentation/input/ff.rst
+++ b/Documentation/input/ff.rst
@@ -31,7 +31,7 @@ To enable force feedback, you have to:
 
 Before you start, let me WARN you that some devices shake violently during the
 initialisation phase. This happens for example with my "AVB Top Shot Pegasus".
-To stop this annoying behaviour, move you joystick to its limits. Anyway, you
+To stop this annoying behaviour, move your joystick to its limits. Anyway, you
 should keep a hand on your device, in order to avoid it to break down if
 something goes wrong.
 
@@ -121,7 +121,7 @@ uploaded, but not played.
 The content of effect may be modified. In particular, its field "id" is set
 to the unique id assigned by the driver. This data is required for performing
 some operations (removing an effect, controlling the playback).
-This if field must be set to -1 by the user in order to tell the driver to
+The "id" field must be set to -1 by the user in order to tell the driver to
 allocate a new effect.
 
 Effects are file descriptor specific.
@@ -178,7 +178,7 @@ Control of playing is done with write(). Below is an example:
 	stop.code = effect.id;
 	stop.value = 0;
 
-	write(fd, (const void*) &play, sizeof(stop));
+	write(fd, (const void*) &stop, sizeof(stop));
 
 Setting the gain
 ----------------
-- 
2.15.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [RESEND PATCH] Documentation: input: ff: fix small typos
  2018-01-18 21:49 [RESEND PATCH] Documentation: input: ff: fix small typos Jean-François Têtu
@ 2018-01-19 17:33 ` Dmitry Torokhov
  0 siblings, 0 replies; 2+ messages in thread
From: Dmitry Torokhov @ 2018-01-19 17:33 UTC (permalink / raw)
  To: Jean-François Têtu
  Cc: Jonathan Corbet, linux-input, linux-doc, linux-kernel

On Thu, Jan 18, 2018 at 04:49:03PM -0500, Jean-François Têtu wrote:
> Fix small typos in the Instructions and Uploading sections. Fix a typo in
> the start/stop effect example usage code.
> 
> Signed-off-by: Jean-François Têtu <jean-francois.tetu@savoirfairelinux.com>

Applied, thank you.

> ---
>  Documentation/input/ff.rst | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/Documentation/input/ff.rst b/Documentation/input/ff.rst
> index 26d461998e08..0c02e87ee86d 100644
> --- a/Documentation/input/ff.rst
> +++ b/Documentation/input/ff.rst
> @@ -31,7 +31,7 @@ To enable force feedback, you have to:
>  
>  Before you start, let me WARN you that some devices shake violently during the
>  initialisation phase. This happens for example with my "AVB Top Shot Pegasus".
> -To stop this annoying behaviour, move you joystick to its limits. Anyway, you
> +To stop this annoying behaviour, move your joystick to its limits. Anyway, you
>  should keep a hand on your device, in order to avoid it to break down if
>  something goes wrong.
>  
> @@ -121,7 +121,7 @@ uploaded, but not played.
>  The content of effect may be modified. In particular, its field "id" is set
>  to the unique id assigned by the driver. This data is required for performing
>  some operations (removing an effect, controlling the playback).
> -This if field must be set to -1 by the user in order to tell the driver to
> +The "id" field must be set to -1 by the user in order to tell the driver to
>  allocate a new effect.
>  
>  Effects are file descriptor specific.
> @@ -178,7 +178,7 @@ Control of playing is done with write(). Below is an example:
>  	stop.code = effect.id;
>  	stop.value = 0;
>  
> -	write(fd, (const void*) &play, sizeof(stop));
> +	write(fd, (const void*) &stop, sizeof(stop));
>  
>  Setting the gain
>  ----------------
> -- 
> 2.15.1
> 

-- 
Dmitry

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-01-19 17:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-18 21:49 [RESEND PATCH] Documentation: input: ff: fix small typos Jean-François Têtu
2018-01-19 17:33 ` Dmitry Torokhov

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.