Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Documentation: soundwire: Ensure that code is inside the code blocks

The way the document is written now, Sphinx renders empty code blocks
followed by the lines that should be inside them.

Unindent the code-block directives to fix this.

Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>

authored by

Jonathan Neuschäfer and committed by
Jonathan Corbet
491a3e88 4022ab4f

+8 -8
+8 -8
Documentation/driver-api/soundwire/stream.rst
··· 201 201 per stream. From ASoC DPCM framework, this stream state maybe linked to 202 202 .startup() operation. 203 203 204 - .. code-block:: c 204 + .. code-block:: c 205 205 206 206 int sdw_alloc_stream(char * stream_name); 207 207 ··· 228 228 only be invoked once by respective Master(s) and Slave(s). From ASoC DPCM 229 229 framework, this stream state is linked to .hw_params() operation. 230 230 231 - .. code-block:: c 231 + .. code-block:: c 232 232 233 233 int sdw_stream_add_master(struct sdw_bus * bus, 234 234 struct sdw_stream_config * stream_config, ··· 274 274 stream. From ASoC DPCM framework, this stream state is linked to 275 275 .prepare() operation. 276 276 277 - .. code-block:: c 277 + .. code-block:: c 278 278 279 279 int sdw_prepare_stream(struct sdw_stream_runtime * stream); 280 280 ··· 304 304 stream. From ASoC DPCM framework, this stream state is linked to 305 305 .trigger() start operation. 306 306 307 - .. code-block:: c 307 + .. code-block:: c 308 308 309 309 int sdw_enable_stream(struct sdw_stream_runtime * stream); 310 310 ··· 332 332 per stream. From ASoC DPCM framework, this stream state is linked to 333 333 .trigger() stop operation. 334 334 335 - .. code-block:: c 335 + .. code-block:: c 336 336 337 337 int sdw_disable_stream(struct sdw_stream_runtime * stream); 338 338 ··· 357 357 per stream. From ASoC DPCM framework, this stream state is linked to 358 358 .trigger() stop operation. 359 359 360 - .. code-block:: c 360 + .. code-block:: c 361 361 362 362 int sdw_deprepare_stream(struct sdw_stream_runtime * stream); 363 363 ··· 382 382 all the Master(s) and Slave(s) associated with stream. From ASoC DPCM 383 383 framework, this stream state is linked to .hw_free() operation. 384 384 385 - .. code-block:: c 385 + .. code-block:: c 386 386 387 387 int sdw_stream_remove_master(struct sdw_bus * bus, 388 388 struct sdw_stream_runtime * stream); ··· 395 395 396 396 In .shutdown() the data structure maintaining stream state are freed up. 397 397 398 - .. code-block:: c 398 + .. code-block:: c 399 399 400 400 void sdw_release_stream(struct sdw_stream_runtime * stream); 401 401