Re: ASoC: Failed to create component debugfs directory

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Feb 20, 2018 at 11:18 AM, Fabio Estevam <festevam@xxxxxxxxx> wrote:

> Any ideas why this second debugfs registration is being attempted?

The change below avoids the double component debugfs registration:

diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c
index 3987673..270109c 100644
--- a/sound/soc/soc-core.c
+++ b/sound/soc/soc-core.c
@@ -329,6 +329,8 @@ static void soc_init_component_debugfs(struct
snd_soc_component *component)

        if (component->init_debugfs)
                component->init_debugfs(component);
+
+       component->card->debugfs_card_root = NULL;
 }

 static void soc_cleanup_component_debugfs(struct snd_soc_component *component)

Not sure what a proper fix would be.
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux