]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: simple-card: use asoc_link_to_xxx() macro
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tue, 13 Apr 2021 23:20:04 +0000 (08:20 +0900)
committerMark Brown <broonie@kernel.org>
Thu, 15 Apr 2021 15:07:49 +0000 (16:07 +0100)
commit6021283859590b3bb0e179ff61eccbb0a0d56203
treea6dd7abdfd7528ee1e626bb138c7dd3c9c13427b
parent962c1c11c6644e5263d452cf3019509378394522
ASoC: simple-card: 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/87o8ehzs9n.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/generic/simple-card.c