ASoC: fsl_rpmsg: Register different ASoC machine devices
This driver helps register ASoC machine device thus use of PLATFORM_DEVID_AUTO macro in API can automatically create device for each sound card based on rpmsg. 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-6-chancel.liu@nxp.com Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
bdc0f6ca1c
commit
76a874caea
@ -235,7 +235,7 @@ static int fsl_rpmsg_probe(struct platform_device *pdev)
|
||||
|
||||
rpmsg->card_pdev = platform_device_register_data(&pdev->dev,
|
||||
"imx-audio-rpmsg",
|
||||
PLATFORM_DEVID_NONE,
|
||||
PLATFORM_DEVID_AUTO,
|
||||
NULL,
|
||||
0);
|
||||
if (IS_ERR(rpmsg->card_pdev)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user