diff mbox

ASoC: Failed to create component debugfs directory

Message ID CAOMZO5B_H0EN7c8+dCwuXvP3_KOoLz=94KQO9oZOM9PoeMX-1A@mail.gmail.com (mailing list archive)
State New, archived
Headers show

Commit Message

Fabio Estevam Feb. 21, 2018, 1:47 p.m. UTC
On Wed, Feb 21, 2018 at 10:43 AM, Fabio Estevam <festevam@gmail.com> wrote:

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

Looks like this can fix it:

Would you like me to submit it?

Thanks

Comments

Mark Brown Feb. 21, 2018, 2:40 p.m. UTC | #1
On Wed, Feb 21, 2018 at 10:47:45AM -0300, Fabio Estevam wrote:

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

Yes, please.
diff mbox

Patch

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