[alsa-devel] ASoC: Failed to create component debugfs directory

Fabio Estevam festevam at gmail.com
Wed Feb 21 14:47:45 CET 2018


On Wed, Feb 21, 2018 at 10:43 AM, Fabio Estevam <festevam at gmail.com> wrote:

> Had to change it to pcm->component.name_prefix = "dma"; but still see
> the warnings.

Looks like this can fix it:

--- a/sound/soc/soc-generic-dmaengine-pcm.c
+++ b/sound/soc/soc-generic-dmaengine-pcm.c
@@ -442,6 +442,7 @@ int snd_dmaengine_pcm_register(struct device *dev,
        if (!pcm)
                return -ENOMEM;

+       pcm->component.debugfs_prefix = "dma";
        pcm->config = config;
        pcm->flags = flags;

Would you like me to submit it?

Thanks


More information about the Alsa-devel mailing list