OSDN Git Service

ASoC: simple-card-utils: alloc dai_link information for CPU/Codec/Platform
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Fri, 26 Mar 2021 03:26:06 +0000 (12:26 +0900)
committerMark Brown <broonie@kernel.org>
Wed, 31 Mar 2021 12:42:40 +0000 (13:42 +0100)
commit050c7950fd706fec229af9f30e8ce254cea9b675
treed55cb32230907d7d99f7a2746ebcd67e7d3eab7b
parent89503d736e3631bda906c627d1092dc8e76ddfd9
ASoC: simple-card-utils: alloc dai_link information for CPU/Codec/Platform

simple-card / audio-graph are assuming single CPU/Codec/Platform on
dai_link. Because of it, it is difficult to support Multi-CPU/Codec.

This patch allocs CPU/Codec/Platform dai_link imformation
instead of using existing props information. It can update to
multi-CPU/Codec, but is still assuming single-CPU/Codec for now.

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