[PATCH 2/3] ASoC: atmel: mchp-pdmc: Add snd_soc_dai_driver name

Andrei Simion andrei.simion at microchip.com
Wed Sep 11 05:29:08 PDT 2024


From: Codrin Ciubotariu <codrin.ciubotariu at microchip.com>

Set snd_soc_dai_driver name to improve controller's display of the DAI
name.

Signed-off-by: Codrin Ciubotariu <codrin.ciubotariu at microchip.com>
Signed-off-by: Andrei Simion <andrei.simion at microchip.com>
---
 sound/soc/atmel/mchp-pdmc.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sound/soc/atmel/mchp-pdmc.c b/sound/soc/atmel/mchp-pdmc.c
index 7a5585839c1d..d97d153ee375 100644
--- a/sound/soc/atmel/mchp-pdmc.c
+++ b/sound/soc/atmel/mchp-pdmc.c
@@ -777,6 +777,7 @@ static const struct snd_soc_dai_ops mchp_pdmc_dai_ops = {
 };
 
 static struct snd_soc_dai_driver mchp_pdmc_dai = {
+	.name	= "mchp-pdmc",
 	.capture = {
 		.stream_name	= "Capture",
 		.channels_min	= 1,
-- 
2.34.1




More information about the linux-arm-kernel mailing list