ASoC: simple-card-utils.c: share asoc_graph_parse_dai()
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Wed, 14 Jun 2023 00:02:57 +0000 (00:02 +0000)
committerMark Brown <broonie@kernel.org>
Wed, 14 Jun 2023 13:47:53 +0000 (14:47 +0100)
commitfed4be313a55e9a19fdabe99d1ec373e25889e2c
treec57add7785ce9375c2f51c4d5eca366d70f706d6
parentfd01a15164a15328fd96f9ce820f0fc9f700f00b
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().

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://lore.kernel.org/r/87o7lihpvy.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/simple_card_utils.h
sound/soc/generic/audio-graph-card.c
sound/soc/generic/audio-graph-card2.c
sound/soc/generic/simple-card-utils.c