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

Andrei Simion posted 3 patches 2 months, 2 weeks ago
[PATCH 2/3] ASoC: atmel: mchp-pdmc: Add snd_soc_dai_driver name
Posted by Andrei Simion 2 months, 2 weeks ago
From: Codrin Ciubotariu <codrin.ciubotariu@microchip.com>

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

Signed-off-by: Codrin Ciubotariu <codrin.ciubotariu@microchip.com>
Signed-off-by: Andrei Simion <andrei.simion@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