linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] docs: usb: fix malformed table
@ 2021-08-05  4:01 Hu Haowen
  0 siblings, 0 replies; only message in thread
From: Hu Haowen @ 2021-08-05  4:01 UTC (permalink / raw)
  To: gregkh, corbet; +Cc: linux-usb, linux-doc, linux-kernel

The tables are separated with tabs and spaces mixed together, leading
to malformation. Changed the characters all into spaces to solve this
issue.

Signed-off-by: Hu Haowen <src.res@email.cn>
---
 Documentation/usb/gadget-testing.rst | 84 ++++++++++++++--------------
 1 file changed, 42 insertions(+), 42 deletions(-)

diff --git a/Documentation/usb/gadget-testing.rst b/Documentation/usb/gadget-testing.rst
index d6253f1a32a1..c18113077889 100644
--- a/Documentation/usb/gadget-testing.rst
+++ b/Documentation/usb/gadget-testing.rst
@@ -724,28 +724,28 @@ Function-specific configfs interface
 The function name to use when creating the function directory is "uac2".
 The uac2 function provides these attributes in its function directory:
 
-	=============== ====================================================
-	c_chmask	capture channel mask
-	c_srate		capture sampling rate
-	c_ssize		capture sample size (bytes)
-	c_sync		capture synchronization type (async/adaptive)
-	c_mute_present	capture mute control enable
-	c_volume_present	capture volume control enable
-	c_volume_min	capture volume control min value (in 1/256 dB)
-	c_volume_max	capture volume control max value (in 1/256 dB)
-	c_volume_res	capture volume control resolution (in 1/256 dB)
-	fb_max    maximum extra bandwidth in async mode
-	p_chmask	playback channel mask
-	p_srate		playback sampling rate
-	p_ssize		playback sample size (bytes)
-	p_mute_present	playback mute control enable
-	p_volume_present	playback volume control enable
-	p_volume_min	playback volume control min value (in 1/256 dB)
-	p_volume_max	playback volume control max value (in 1/256 dB)
-	p_volume_res	playback volume control resolution (in 1/256 dB)
-	req_number	the number of pre-allocated request for both capture
-			and playback
-	=============== ====================================================
+	================ ====================================================
+	c_chmask         capture channel mask
+	c_srate          capture sampling rate
+	c_ssize          capture sample size (bytes)
+	c_sync           capture synchronization type (async/adaptive)
+	c_mute_present   capture mute control enable
+	c_volume_present capture volume control enable
+	c_volume_min     capture volume control min value (in 1/256 dB)
+	c_volume_max     capture volume control max value (in 1/256 dB)
+	c_volume_res     capture volume control resolution (in 1/256 dB)
+	fb_max           maximum extra bandwidth in async mode
+	p_chmask         playback channel mask
+	p_srate          playback sampling rate
+	p_ssize          playback sample size (bytes)
+	p_mute_present   playback mute control enable
+	p_volume_present playback volume control enable
+	p_volume_min     playback volume control min value (in 1/256 dB)
+	p_volume_max     playback volume control max value (in 1/256 dB)
+	p_volume_res     playback volume control resolution (in 1/256 dB)
+	req_number       the number of pre-allocated request for both capture
+	                 and playback
+	================ ====================================================
 
 The attributes have sane default values.
 
@@ -914,26 +914,26 @@ Function-specific configfs interface
 The function name to use when creating the function directory is "uac1".
 The uac1 function provides these attributes in its function directory:
 
-	========== ====================================================
-	c_chmask   	capture channel mask
-	c_srate    	capture sampling rate
-	c_ssize    	capture sample size (bytes)
-	c_mute_present	capture mute control enable
-	c_volume_present	capture volume control enable
-	c_volume_min	capture volume control min value (in 1/256 dB)
-	c_volume_max	capture volume control max value (in 1/256 dB)
-	c_volume_res	capture volume control resolution (in 1/256 dB)
-	p_chmask   	playback channel mask
-	p_srate    	playback sampling rate
-	p_ssize    	playback sample size (bytes)
-	p_mute_present	playback mute control enable
-	p_volume_present	playback volume control enable
-	p_volume_min	playback volume control min value (in 1/256 dB)
-	p_volume_max	playback volume control max value (in 1/256 dB)
-	p_volume_res	playback volume control resolution (in 1/256 dB)
-	req_number 	the number of pre-allocated request for both capture
-			and playback
-	========== ====================================================
+	================ ====================================================
+	c_chmask         capture channel mask
+	c_srate          capture sampling rate
+	c_ssize          capture sample size (bytes)
+	c_mute_present   capture mute control enable
+	c_volume_present capture volume control enable
+	c_volume_min     capture volume control min value (in 1/256 dB)
+	c_volume_max     capture volume control max value (in 1/256 dB)
+	c_volume_res     capture volume control resolution (in 1/256 dB)
+	p_chmask         playback channel mask
+	p_srate          playback sampling rate
+	p_ssize          playback sample size (bytes)
+	p_mute_present   playback mute control enable
+	p_volume_present playback volume control enable
+	p_volume_min     playback volume control min value (in 1/256 dB)
+	p_volume_max     playback volume control max value (in 1/256 dB)
+	p_volume_res     playback volume control resolution (in 1/256 dB)
+	req_number       the number of pre-allocated request for both capture
+	                 and playback
+	================ ====================================================
 
 The attributes have sane default values.
 
-- 
2.25.1


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2021-08-05  4:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-05  4:01 [PATCH] docs: usb: fix malformed table Hu Haowen

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).