diff options
author | Mark Brown <broonie@kernel.org> | 2022-04-08 14:22:10 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-04-08 14:22:10 +0300 |
commit | 3d5746a187a0e2a10025ead3472f796a761abd26 (patch) | |
tree | 629929b235b07ca4d4a58d7d0042824efa7c5f59 /sound/soc/soc-core.c | |
parent | 5cfe477f6a3f9a4d9b2906d442964f2115b0403f (diff) | |
parent | aa70527d36d74db80a1c40e792f5320ab56e6eae (diff) | |
download | linux-3d5746a187a0e2a10025ead3472f796a761abd26.tar.xz |
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.c | 5 |
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); |