ASoC: imx-pcm-rpmsg: Register different platform drivers
authorChancel Liu <chancel.liu@nxp.com>
Fri, 30 Sep 2022 06:44:37 +0000 (14:44 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 17 Oct 2022 11:48:14 +0000 (12:48 +0100)
commitb2c2a947b3412f6edb9a86f5b12d6420958e67ba
tree56c8967ac7ca2a4f0ecf9f3c283183e518832b95
parentf04189e0b85f6bbd10679e71061bf6d1ced5c539
ASoC: imx-pcm-rpmsg: Register different platform drivers

This patch can register different ASoC platform drivers if there are
several rpmsg channels. Thus sound cards based on different rpmsg
channels can link to their respective platform drivers. Besides, the
name of driver is equal to the name of rpmsg channel.

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