diff options
author | AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> | 2021-11-11 17:11:08 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-11-12 18:16:44 +0000 |
commit | 8c32984bc7da29828260ac514d5d4967f7e8f62d (patch) | |
tree | 2182241e6106e5f634488a51a40f25f9113df201 /sound/soc/soc-ac97.c | |
parent | 2cd9b0ef82d936623d789bb3fbb6fcf52c500367 (diff) |
ASoC: mediatek: mt8173: Fix debugfs registration for components
When registering the mt8173-afe-pcm driver, we are also adding two
components: one is for the PCM DAIs and one is for the HDMI DAIs, but
when debugfs is enabled, we're getting the following issue:
[ 17.279176] debugfs: Directory '11220000.audio-controller' with parent 'mtk-rt5650' already present!
[ 17.288345] debugfs: Directory '11220000.audio-controller' with parent 'mtk-rt5650' already present!
To overcome to that without any potentially big rewrite of this driver,
similarly to what was done in mt8195-afe-pcm, add a debugfs_prefix to
the components before actually adding them.
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20211111161108.502344-1-angelogioacchino.delregno@collabora.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/soc-ac97.c')
0 files changed, 0 insertions, 0 deletions