]> git.baikalelectronics.ru Git - kernel.git/commit
soundwire: intel: use asoc_rtd_to_cpu() / asoc_rtd_to_codec() macro for DAI pointer
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Mon, 20 Apr 2020 07:01:01 +0000 (16:01 +0900)
committerMark Brown <broonie@kernel.org>
Mon, 20 Apr 2020 15:32:41 +0000 (16:32 +0100)
commitc13dee786a95cc1fedbcb3ce2f1a050679849b95
tree277904e347abecc49674763ed8bd6ba9f14ad840
parent1d4a3f48a6668c53cccdb7c78814b159654941e4
soundwire: intel: use asoc_rtd_to_cpu() / asoc_rtd_to_codec() macro for DAI pointer

Now ALSA SoC needs to use asoc_rtd_to_codec(),
otherwise, it will be compile error.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Acked-By: Vinod Koul <vkoul@kernel.org>
Link: https://lore.kernel.org/r/87y2qqvdxu.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/soundwire/intel.c