summaryrefslogtreecommitdiff
path: root/sound/soc/soc-core.c
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2022-04-08 12:22:10 +0100
committerMark Brown <broonie@kernel.org>2022-04-08 12:22:10 +0100
commit3d5746a187a0e2a10025ead3472f796a761abd26 (patch)
tree629929b235b07ca4d4a58d7d0042824efa7c5f59 /sound/soc/soc-core.c
parent5cfe477f6a3f9a4d9b2906d442964f2115b0403f (diff)
parentaa70527d36d74db80a1c40e792f5320ab56e6eae (diff)
ASoC: Merge fixes
Pull in wm8731 fix. Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/soc-core.c')
-rw-r--r--sound/soc/soc-core.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c
index d8426df67dd9..aa687fd126db 100644
--- a/sound/soc/soc-core.c
+++ b/sound/soc/soc-core.c
@@ -2587,6 +2587,11 @@ int snd_soc_component_initialize(struct snd_soc_component *component,
component->dev = dev;
component->driver = driver;
+#ifdef CONFIG_DEBUG_FS
+ if (!component->debugfs_prefix)
+ component->debugfs_prefix = driver->debugfs_prefix;
+#endif
+
return 0;
}
EXPORT_SYMBOL_GPL(snd_soc_component_initialize);