ASoC: doc: dapm: fix and improve section "Registering DAPM controls"
authorLuca Ceresoli <luca.ceresoli@bootlin.com>
Fri, 26 Apr 2024 16:56:42 +0000 (18:56 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 29 Apr 2024 14:49:34 +0000 (23:49 +0900)
commitd40e82194423c9d058bdeff863373b7da9f7045b
tree72a22a0c36a67336406d326b25315bc981ad2fbb
parent36de8c0e26793beeda1d6a7592f44b4551271469
ASoC: doc: dapm: fix and improve section "Registering DAPM controls"

Extend the first paragraph to mention the {,num_}dapm_routes fields just
like the widget conterparts. Mention the route fields also in the code
example. Fix "at build time", this really means "at probe time".

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-9-87b07547eb5b@bootlin.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/sound/soc/dapm.rst