ASoC: fsl: imx-rpmsg: Update to correct DT node
authorChancel Liu <chancel.liu@nxp.com>
Mon, 11 Mar 2024 11:13:49 +0000 (20:13 +0900)
committerMark Brown <broonie@kernel.org>
Mon, 25 Mar 2024 00:32:52 +0000 (00:32 +0000)
commitc14445bdcb98feddf9afaeb05e6193cc1f8eec1a
tree0367fd062a7765acc0d446ff17df7ddf8dae641d
parent0aa7f5406afa828a93d84d75c9b9ac991cd75367
ASoC: fsl: imx-rpmsg: Update to correct DT node

In order to support register and unregister rpmsg sound card through
remoteproc platform device for card to probe is registered in
imx-audio-rpmsg. ASoC machine driver no longer can get DT node of ASoC
CPU DAI device through parent device.

ASoC machine driver can get DT node of ASoC CPU DAI device with rpmsg
channel name acquired from platform specific data.

Signed-off-by: Chancel Liu <chancel.liu@nxp.com>
Link: https://msgid.link/r/20240311111349.723256-6-chancel.liu@nxp.com
Acked-by: Shengjiu Wang <shengjiu.wang@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/fsl/imx-rpmsg.c