diff mbox series

[v3,13/16] docs: sound: kernel-api: writing-an-alsa-driver.rst: replace some characters

Message ID f560414dfc677712126ae8b28e755e610d142c42.1621159997.git.mchehab+huawei@kernel.org (mailing list archive)
State New, archived
Headers show
Series Replace some bad characters on documents | expand

Commit Message

Mauro Carvalho Chehab May 16, 2021, 10:18 a.m. UTC
The conversion tools used during DocBook/LaTeX/html/Markdown->ReST
conversion and some cut-and-pasted text contain some characters that
aren't easily reachable on standard keyboards and/or could cause
troubles when parsed by the documentation build system.

Replace the occurences of the following characters:

	- U+00a0 (' '): NO-BREAK SPACE
	  as it can cause lines being truncated on PDF output

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
---
 Documentation/sound/kernel-api/writing-an-alsa-driver.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Takashi Iwai May 17, 2021, 11:03 a.m. UTC | #1
On Sun, 16 May 2021 12:18:30 +0200,
Mauro Carvalho Chehab wrote:
> 
> The conversion tools used during DocBook/LaTeX/html/Markdown->ReST
> conversion and some cut-and-pasted text contain some characters that
> aren't easily reachable on standard keyboards and/or could cause
> troubles when parsed by the documentation build system.
> 
> Replace the occurences of the following characters:
> 
> 	- U+00a0 (' '): NO-BREAK SPACE
> 	  as it can cause lines being truncated on PDF output
> 
> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>

Reviewed-by: Takashi Iwai <tiwai@suse.de>


thanks,

Takashi


> ---
>  Documentation/sound/kernel-api/writing-an-alsa-driver.rst | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/Documentation/sound/kernel-api/writing-an-alsa-driver.rst b/Documentation/sound/kernel-api/writing-an-alsa-driver.rst
> index e6365836fa8b..90a58da36569 100644
> --- a/Documentation/sound/kernel-api/writing-an-alsa-driver.rst
> +++ b/Documentation/sound/kernel-api/writing-an-alsa-driver.rst
> @@ -3368,7 +3368,7 @@ This ensures that the device can be closed and the driver unloaded
>  without losing data.
>  
>  This callback is optional. If you do not set ``drain`` in the struct
> -snd_rawmidi_ops structure, ALSA will simply wait for 50 milliseconds
> +snd_rawmidi_ops structure, ALSA will simply wait for 50 milliseconds
>  instead.
>  
>  Miscellaneous Devices
> -- 
> 2.31.1
>
diff mbox series

Patch

diff --git a/Documentation/sound/kernel-api/writing-an-alsa-driver.rst b/Documentation/sound/kernel-api/writing-an-alsa-driver.rst
index e6365836fa8b..90a58da36569 100644
--- a/Documentation/sound/kernel-api/writing-an-alsa-driver.rst
+++ b/Documentation/sound/kernel-api/writing-an-alsa-driver.rst
@@ -3368,7 +3368,7 @@  This ensures that the device can be closed and the driver unloaded
 without losing data.
 
 This callback is optional. If you do not set ``drain`` in the struct
-snd_rawmidi_ops structure, ALSA will simply wait for 50 milliseconds
+snd_rawmidi_ops structure, ALSA will simply wait for 50 milliseconds
 instead.
 
 Miscellaneous Devices