From: Chancel Liu Date: Thu, 28 May 2026 02:07:25 +0000 (+0900) Subject: ASoC: imx-rpmsg: Set driver_name for snd_soc_card X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=af0d8aa7fcd5c63a6a5077c5a21c7f8f2695cf94;p=thirdparty%2Fkernel%2Flinux.git ASoC: imx-rpmsg: Set driver_name for snd_soc_card Set driver_name to "imx-audio-rpmsg" for the i.MX RPMSG sound card. This allows userspace audio configuration tools (e.g., UCM) to match the card by driver name independently of the card name, which may vary across board configurations. Signed-off-by: Chancel Liu Link: https://patch.msgid.link/20260528020725.2265321-4-chancel.liu@nxp.com Signed-off-by: Mark Brown --- diff --git a/sound/soc/fsl/imx-rpmsg.c b/sound/soc/fsl/imx-rpmsg.c index 48fe471499bac..5f1af258caf2d 100644 --- a/sound/soc/fsl/imx-rpmsg.c +++ b/sound/soc/fsl/imx-rpmsg.c @@ -250,6 +250,7 @@ static int imx_rpmsg_probe(struct platform_device *pdev) data->card.dapm_widgets = imx_rpmsg_dapm_widgets; data->card.num_dapm_widgets = ARRAY_SIZE(imx_rpmsg_dapm_widgets); data->card.late_probe = imx_rpmsg_late_probe; + data->card.driver_name = "imx-audio-rpmsg"; /* * Inoder to use common api to get card name and audio routing. * Use parent of_node for this device, revert it after finishing using