ASoC: soc.h: add sound dai_link connection macro
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Thu, 6 Jun 2019 04:07:42 +0000 (13:07 +0900)
committerMark Brown <broonie@kernel.org>
Thu, 6 Jun 2019 20:22:42 +0000 (21:22 +0100)
commit587c984427bf7d031a2a4b693dfb24a51cd660b2
tree458deb6bbcb6ab5a0e72ac2fdc1a1795b595d716
parentf107294c6422e772773b53dbf802186175b6289e
ASoC: soc.h: add sound dai_link connection macro

Modern style dai_link requests CPU/Codec/Platform component
pointer array and its size, but it will be very verbose code.
To avoid such scene, this patch adds dai_link connection macro.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/soc.h
sound/soc/soc-core.c