]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: meson: aiu: simplify component addition
authorJerome Brunet <jbrunet@baylibre.com>
Mon, 17 Feb 2020 09:20:19 +0000 (10:20 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 17 Feb 2020 18:22:21 +0000 (18:22 +0000)
commitd7dcda0735f4b89f7ee81e4146914fcfdb253acf
tree1353d492de76ab6bcea1a83d4252fb998c49a32d
parent784c6c707ff2199e53416af821a3da9bf4513499
ASoC: meson: aiu: simplify component addition

Now that the component name is unique within ASoC, there is no need to
hack the debugfs prefix to add more than one ASoC component to a linux
device. Remove the unnecessary function and use
snd_soc_register_component() directly.

Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Link: https://lore.kernel.org/r/20200217092019.433402-1-jbrunet@baylibre.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/meson/aiu-acodec-ctrl.c
sound/soc/meson/aiu-codec-ctrl.c
sound/soc/meson/aiu.c
sound/soc/meson/aiu.h