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

Commit 1f629ea9 authored by Meng Wang's avatar Meng Wang Committed by Gerrit - the friendly Code Review server
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>
Signed-off-by: default avatarMeng Wang <mwang@codeaurora.org>
parent 36e8347a
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -319,7 +319,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;
	}
@@ -345,7 +345,7 @@ static void soc_init_codec_debugfs(struct snd_soc_component *component)
					  codec->component.debugfs_root,
					  codec, &codec_reg_fops);
	if (!debugfs_reg)
		dev_warn(codec->dev,
		dev_dbg(codec->dev,
			"ASoC: Failed to create codec register debugfs file\n");
}