ASoC: fsl: imx-pcm-rpmsg: Register component with rpmsg channel name
authorChancel Liu <chancel.liu@nxp.com>
Mon, 11 Mar 2024 11:13:45 +0000 (20:13 +0900)
committerMark Brown <broonie@kernel.org>
Mon, 25 Mar 2024 00:32:48 +0000 (00:32 +0000)
commit41f96cd53f2838ac4894491ac5eadb06f1e5b858
treee2b49cec8f0f09599aac1823280d7b2536ccdf60
parent4cece764965020c22cff7665b18a012006359095
ASoC: fsl: imx-pcm-rpmsg: Register component with rpmsg channel name

Machine driver uses rpmsg channel name to link this platform component.
However if the component is re-registerd card will not find this new
created component in snd_soc_try_rebind_card().

Explicitly register this component with rpmsg channel name so that
card can always find this component.

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