commit | 4da40cb9955c63c3aca02be267faea4abbd2c649 | [log] [tgz] |
---|---|---|
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | Mon Mar 22 11:48:15 2021 +0900 |
committer | Mark Brown <broonie@kernel.org> | Thu Mar 25 13:58:52 2021 +0000 |
tree | 7a526317917603b107bfeca609ea3f554ba5aec0 | |
parent | 3f994c25868729fb63a4eef42a7040e563eff365 [diff] |
ASoC: soc.h: add asoc_link_to_cpu/codec/platform() macro We shouldn't use dai_link->cpus/codecs/platforms directly, because these are array now to supporting multi CPU/Codec/Platform. This patch adds asoc_link_to_xxx() macro for it. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Link: https://lore.kernel.org/r/874kh3aopc.wl-kuninori.morimoto.gx@renesas.com Signed-off-by: Mark Brown <broonie@kernel.org>