@@ -303,6 +303,8 @@ static void soc_init_component_debugfs(struct
snd_soc_component *component)
if (!component->card->debugfs_card_root)
return;
+ pr_err("************** component name is %s\n", component->name);
+
if (component->debugfs_prefix) {
char *name;
@@ -318,6 +320,12 @@ static void soc_init_component_debugfs(struct
snd_soc_component *component)
component->card->debugfs_card_root);
}
+ if (component->debugfs_root) {
+ dev_warn(component->dev,
+ "ASoC: Succeded to create component debugfs
directory\n");
+ return;
+ }
+
if (!component->debugfs_root) {
dev_warn(component->dev,
"ASoC: Failed to create component debugfs directory\n");
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.name_prefix = "dma";
pcm->config = config;
pcm->flags = flags;