OSDN Git Service

ASoC: simple-card: add simple_link_init()
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tue, 11 May 2021 01:17:47 +0000 (10:17 +0900)
committerMark Brown <broonie@kernel.org>
Tue, 11 May 2021 14:42:28 +0000 (15:42 +0100)
commit6ad76b573bb63ef229cf60386cc38c6e7c7625d7
tree61be682160d34f63e340bb0d23555f5db571bcee
parent0919a3acc0c87049a7d787c4b8b9e64bd7c59eb3
ASoC: simple-card: add simple_link_init()

Original commit 434392271afcff350fe ("ASoC: simple-card: add
simple_link_init()") are rejected, and this is remake version of it.

This patch adds simple_link_init() and share dai_link setting code.

Reported-by: "kernelci.org bot" <bot@kernelci.org>
Fixes: 25c4a9b614f101bb9f3 ("ASoC: simple-card: Fix breakage on kontron-sl28-var3-ads2")
Fixes: 434392271afcff350fe ("ASoC: simple-card: add simple_link_init()")
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tested-by: Michael Walle <michael@walle.cc>
Link: https://lore.kernel.org/r/87fsyuax1g.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/generic/simple-card.c