Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7295b104 authored by Banajit Goswami's avatar Banajit Goswami
Browse files

ASoC: soc-core: change debug level for debugfs fail message



Debugfs directory creation failure are not critical error.
However, the failure messages might be misleading and might
be interpreted as geniune failure in ASoC functionality.
Mark the failure messages as debug level.

Change-Id: Id61c81753d493b6508cbe87c59077adda4675ada
Signed-off-by: default avatarBanajit Goswami <bgoswami@codeaurora.org>
parent 29af16f3
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -303,7 +303,7 @@ static void soc_init_component_debugfs(struct snd_soc_component *component)
	}

	if (!component->debugfs_root) {
		dev_warn(component->dev,
		dev_dbg(component->dev,
			"ASoC: Failed to create component debugfs directory\n");
		return;
	}
@@ -328,7 +328,7 @@ static void soc_init_codec_debugfs(struct snd_soc_component *component)
						 codec->component.debugfs_root,
						 codec, &codec_reg_fops);
	if (!codec->debugfs_reg)
		dev_warn(codec->dev,
		dev_dbg(codec->dev,
			"ASoC: Failed to create codec register debugfs file\n");
}