ASoC: doc: dapm: describe how widgets and routes are registered
authorLuca Ceresoli <luca.ceresoli@bootlin.com>
Fri, 26 Apr 2024 16:56:41 +0000 (18:56 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 29 Apr 2024 14:49:33 +0000 (23:49 +0900)
commit36de8c0e26793beeda1d6a7592f44b4551271469
tree99f605ac9a36017910e6e03330d58ab0126437b1
parentdd5f36e59134654f9fd7b39d4d66327a1a2db82d
ASoC: doc: dapm: describe how widgets and routes are registered

The small paragraph describing how to register widgets is incomplete (does
not mention routes) and mentions snd_soc_dapm_new_control() which is not
really used. Moreover it appears as a part of the "Virtual Widgets"
subsection.

Replace it with a detailed and current description of how widgets and
routes are registered, mentioning both static declaration and runtime
registration. Also make this a section on its own.

Reviewed-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Reviewed-by: Bagas Sanjaya <bagasdotme@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Link: https://lore.kernel.org/r/20240426-dapm-docs-v2-8-87b07547eb5b@bootlin.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/sound/soc/dapm.rst