ASoC: simple-card-utils.c: share asoc_graph_parse_dai()
Kuninori Morimoto
maintainerPATCH 1/1 ASoC: simple-card-utils.c: share asoc_graph_parse_dai()
Current Audio Graph Card/Card2 implements asoc_simple_parse_dai() on each driver, but these are same function.
This patch share it as asoc_graph_parse_dai().
--- include/sound/simple_card_utils.h | 3 + sound/soc/generic/audio-graph-card.c | 107 +------------------------- sound/soc/generic/audio-graph-card2.c | 107 +------------------------- sound/soc/generic/simple-card-utils.c | 105 +++++++++++++++++++++++++ 4 files changed, 110 insertions(+), 212 deletions(-)
include/sound/simple_card_utils.h +3 -0
@@ -195,6 +195,9 @@ int asoc_simple_remove(struct platform_device *pdev);int asoc_graph_card_probe (struct snd_soc_card *card);int asoc_graph_is_ports0 (struct device_node *port); +int asoc_graph_parse_dai (struct device_node *ep, +struct snd_soc_dai_link_component *dlc, +int *is_single_link);#ifdef DEBUG static inline void asoc_simple_debug_dai(struct asoc_simple_priv *priv,
sound/soc/generic/audio-graph-card.c +1 -106
125 lines not on this page · raw message
sound/soc/generic/audio-graph-card2.c +1 -106
119 lines not on this page · raw message
sound/soc/generic/simple-card-utils.c +105 -0
111 lines not on this page · raw message
Signature · 1 line
2.25.1
Mark Brown
maintainerQuoted 5 lines · Kuninori Morimoto
Current Audio Graph Card/Card2 implements
asoc_simple_parse_dai()on each driver, but these are same function.
This patch share it asasoc_graph_parse_dai().
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next
Thanks!
[1/1] ASoC: simple-card-utils.c: share asoc_graph_parse_dai()
commit: fed4be313a55e9a19fdabe99d1ec373e25889e2c
All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying to this mail.
Thanks,
Mark