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)
commit4eb542cc88c1c255a70e745b12ae913cd3edb535
tree277904e347abecc49674763ed8bd6ba9f14ad840
parentace105dd6159c7c4a49b4c80aa1efca31fc7720c
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