]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: meson: aiu: fix duplicate debugfs directory error
authorHeiner Kallweit <hkallweit1@gmail.com>
Wed, 9 Mar 2022 20:23:06 +0000 (21:23 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 5 Apr 2022 18:14:21 +0000 (19:14 +0100)
commit07cd19823c36ff7716b4e707bc06f53490c4c443
treec8f1f97e63c111cbee11a390112d016a7e769dd9
parentab6002cb47fcdba0191ef19d3a30680a8e0a5ab9
ASoC: meson: aiu: fix duplicate debugfs directory error

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(). 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

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Link: https://lore.kernel.org/r/38053baf-c33b-7fdf-7593-99b22153a9c0@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/meson/aiu-acodec-ctrl.c
sound/soc/meson/aiu-codec-ctrl.c
sound/soc/meson/aiu.c