diff mbox

ASoC: Failed to create DAPM debugfs

Message ID CAOMZO5AxT9dgE=QaH18FUYD5CbMvn67XpMo4dH6T0v9Qen-RRg@mail.gmail.com (mailing list archive)
State New, archived
Headers show

Commit Message

Fabio Estevam April 8, 2015, 8:35 p.m. UTC
On Wed, Apr 8, 2015 at 4:33 PM, Lars-Peter Clausen <lars@metafoo.de> wrote:

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

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


,but I still get the warning.

Thanks,

Fabio Estevam
diff mbox

Patch

--- 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;