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)
committerVinod Koul <vkoul@kernel.org>
Mon, 20 Apr 2020 07:08:04 +0000 (12:38 +0530)
commit611905d6e31c6ce2a59c8bda91b3d33beec13c50
tree492a0bbc736762605fdaad75ad8a1c5382a3424c
parent8f3d9f354286745c751374f5f1fcafee6b3f3136
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>
Link: https://lore.kernel.org/r/87y2qqvdxu.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/soundwire/intel.c