]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: soc-core: dapm related setup at one place
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Fri, 23 Aug 2019 00:58:47 +0000 (09:58 +0900)
committerMark Brown <broonie@kernel.org>
Mon, 2 Sep 2019 12:21:02 +0000 (13:21 +0100)
commit4f0ccfa6d735bb3fcf698f85541b51ddd4690c6b
tree436e6fad1c06e00d9047674b1c6f59a1ef9c9798
parent74b9b9ddcc65bf8be07b6fa67ca430a76bb4fb50
ASoC: soc-core: dapm related setup at one place

Current ASoC setups some dapm related member at
snd_soc_component_initialize() which is called when component was
registered, and setups remaining member at soc_probe_component()
which is called when component was probed.
This kind of setup separation is no meanings, and it is very
difficult to read and confusable.
This patch setups all dapm settings at one place.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://lore.kernel.org/r/87r25c7lbo.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/soc-core.c