diff options
author | Alexander Stein <alexander.stein@ew.tq-group.com> | 2023-03-16 13:36:11 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-03-20 13:11:22 +0000 |
commit | 9934844f6b49fb9964f878f12912abe689eaed5d (patch) | |
tree | e1d87dc1144ebdbd266978f110e899eae33988af /sound/soc/fsl | |
parent | 1d52cba3b99278f178bfadf88e666648a217a813 (diff) | |
download | linux-stable-9934844f6b49fb9964f878f12912abe689eaed5d.tar.gz linux-stable-9934844f6b49fb9964f878f12912abe689eaed5d.tar.bz2 linux-stable-9934844f6b49fb9964f878f12912abe689eaed5d.zip |
ASoC: fsl: Specify driver name in ASoC card
Set the snd_soc_card driver name which fixes the warning:
fsl-asoc-card sound: ASoC: driver name too long 'imx-audio-tlv320aic32x4'
-> 'imx-audio-tlv32'
Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Acked-by: Shengjiu Wang <shengjiu.wang@gmail.com>
Link: https://lore.kernel.org/r/20230316123611.3495597-2-alexander.stein@ew.tq-group.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/fsl')
-rw-r--r-- | sound/soc/fsl/fsl-asoc-card.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/fsl/fsl-asoc-card.c b/sound/soc/fsl/fsl-asoc-card.c index e956abfd50f8..bffa1048d31e 100644 --- a/sound/soc/fsl/fsl-asoc-card.c +++ b/sound/soc/fsl/fsl-asoc-card.c @@ -609,6 +609,7 @@ static int fsl_asoc_card_probe(struct platform_device *pdev) priv->card.dapm_routes = audio_map; priv->card.num_dapm_routes = ARRAY_SIZE(audio_map); + priv->card.driver_name = DRIVER_NAME; /* Diversify the card configurations */ if (of_device_is_compatible(np, "fsl,imx-audio-cs42888")) { codec_dai_name = "cs42888"; |