]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ASoC: atmel: mchp-pdmc: Add snd_soc_dai_driver name
authorCodrin Ciubotariu <codrin.ciubotariu@microchip.com>
Wed, 11 Sep 2024 12:29:08 +0000 (15:29 +0300)
committerMark Brown <broonie@kernel.org>
Wed, 11 Sep 2024 14:38:47 +0000 (15:38 +0100)
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>
Link: https://patch.msgid.link/20240911122909.133399-3-andrei.simion@microchip.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/atmel/mchp-pdmc.c

index 7a5585839c1de11c4866e58f11a198720135252d..d97d153ee3751f3f555c8421949241526a6e490f 100644 (file)
@@ -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,