[alsa-devel] ASoC: Failed to create DAPM debugfs

Fabio Estevam festevam at gmail.com
Wed Apr 8 22:35:50 CEST 2015


On Wed, Apr 8, 2015 at 4:33 PM, Lars-Peter Clausen <lars at metafoo.de> wrote:

> Does the card name contain a '/' like in 'S/PDIF'?

Yes, it does. I also tried to change it like this:

--- a/sound/soc/fsl/imx-spdif.c
+++ b/sound/soc/fsl/imx-spdif.c
@@ -37,8 +37,8 @@ static int imx_spdif_audio_probe(struct platform_device *pdev)
                goto end;
        }

-       data->dai.name = "S/PDIF PCM";
-       data->dai.stream_name = "S/PDIF PCM";
+       data->dai.name = "SPDIF PCM";
+       data->dai.stream_name = "SPDIF PCM";
        data->dai.codec_dai_name = "snd-soc-dummy-dai";
        data->dai.codec_name = "snd-soc-dummy";
        data->dai.cpu_of_node = spdif_np;

,but I still get the warning.

Thanks,

Fabio Estevam


More information about the Alsa-devel mailing list