]> git.proxmox.com Git - mirror_ubuntu-hirsute-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)
commitb614beafa495c7f6fbc15cb6977e3fe48beea1e5
tree436e6fad1c06e00d9047674b1c6f59a1ef9c9798
parentffd60fba19d9752f553aac367cd40362011ab6c9
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