]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
ASoC: meson: aiu: fix duplicate debugfs directory error
authorMark Brown <broonie@kernel.org>
Wed, 6 Apr 2022 13:23:46 +0000 (14:23 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 6 Apr 2022 13:23:46 +0000 (14:23 +0100)
Merge series from Heiner Kallweit <hkallweit1@gmail.com>:

On a S905W-based system I get the following error:
debugfs: Directory 'c1105400.audio-controller' with parent 'P230-Q200' already present!

Turned out that multiple components having the same name triggers this
error in soc_init_component_debugfs(). The proposed solution allows
other drivers to adopt the same approach with minimal effort.
With the patch the error is gone and that's the debugfs entries.

/sys/kernel/debug/asoc/P230-Q200/acodec:c1105400.audio-controller
/sys/kernel/debug/asoc/P230-Q200/hdmi:c1105400.audio-controller
/sys/kernel/debug/asoc/P230-Q200/cpu:c1105400.audio-controller


Trivial merge