]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite3cad39d1358c64ae7ef8d5ccd9058bed70b6a0d
tree458deb6bbcb6ab5a0e72ac2fdc1a1795b595d716
parent2e91f958ba8e5f64f0ecd32bdf325a94f62f500f
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