Skip to content

Commit 9f5f358

Browse files
tq-steinabroonie
authored andcommitted
ASoC: fsl_easrc: fix duplicate debugfs directory error
This driver registers two components: asrc and easrc, both attached using the device name as component name. Eventually debugfs directories with identical name are created in soc_init_component_debugfs(), leading to error message: debugfs: '30c90000.easrc' already exists in 'tqm-tlv320aic32' Fix this by adding the debugfs_prefix. Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com> Reviewed-by: Fabio Estevam <festevam@gmail.com> Link: https://patch.msgid.link/20251216094045.623184-2-alexander.stein@ew.tq-group.com Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent 9a068c4 commit 9f5f358

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

sound/soc/fsl/fsl_easrc.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1577,6 +1577,9 @@ static const struct snd_soc_component_driver fsl_easrc_component = {
15771577
.controls = fsl_easrc_snd_controls,
15781578
.num_controls = ARRAY_SIZE(fsl_easrc_snd_controls),
15791579
.legacy_dai_naming = 1,
1580+
#ifdef CONFIG_DEBUG_FS
1581+
.debugfs_prefix = "easrc",
1582+
#endif
15801583
};
15811584

15821585
static const struct reg_default fsl_easrc_reg_defaults[] = {

0 commit comments

Comments
 (0)