ASoC: audio-graph: use asoc_link_to_xxx() macro
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tue, 13 Apr 2021 23:20:15 +0000 (08:20 +0900)
committerMark Brown <broonie@kernel.org>
Thu, 15 Apr 2021 15:07:51 +0000 (16:07 +0100)
commit7ed5920995cea34d66e4af00c7f468cc933251cf
treed98b1970f5fc11587a6ff68aacced922b4ddbb25
parent2c33e20ffd68df097d61fad9b87dc6276354b139
ASoC: audio-graph: use asoc_link_to_xxx() macro

We shouldn't use dai_link->cpus/codecs/platforms directly,
because these are array now to supporting multi CPU/Codec/Platform.
This patch uses asoc_link_to_xxx() macro for it.

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