<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Mar 16, 2023 at 8:36 PM Alexander Stein <<a href="mailto:alexander.stein@ew.tq-group.com">alexander.stein@ew.tq-group.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Set the snd_soc_card driver name which fixes the warning:<br>
fsl-asoc-card sound: ASoC: driver name too long 'imx-audio-tlv320aic32x4'<br>
-> 'imx-audio-tlv32'<br>
<br>
Signed-off-by: Alexander Stein <<a href="mailto:alexander.stein@ew.tq-group.com" target="_blank">alexander.stein@ew.tq-group.com</a>><br></blockquote><div><br></div><div>Acked-by: Shengjiu Wang <<a href="mailto:shengjiu.wang@gmail.com">shengjiu.wang@gmail.com</a>></div><div><br></div><div>Best regards</div><div>wang shengjiu </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
---<br>
These patches could be squashed, but I opted for separation this patch<br>
is the actual functional change. Patch 1 is just preparation.<br>
<br>
 sound/soc/fsl/fsl-asoc-card.c | 1 +<br>
 1 file changed, 1 insertion(+)<br>
<br>
diff --git a/sound/soc/fsl/fsl-asoc-card.c b/sound/soc/fsl/fsl-asoc-card.c<br>
index e956abfd50f8..bffa1048d31e 100644<br>
--- a/sound/soc/fsl/fsl-asoc-card.c<br>
+++ b/sound/soc/fsl/fsl-asoc-card.c<br>
@@ -609,6 +609,7 @@ static int fsl_asoc_card_probe(struct platform_device *pdev)<br>
<br>
        priv->card.dapm_routes = audio_map;<br>
        priv->card.num_dapm_routes = ARRAY_SIZE(audio_map);<br>
+       priv->card.driver_name = DRIVER_NAME;<br>
        /* Diversify the card configurations */<br>
        if (of_device_is_compatible(np, "fsl,imx-audio-cs42888")) {<br>
                codec_dai_name = "cs42888";<br>
-- <br>
2.34.1<br>
<br>
</blockquote></div></div>