[PATCH 0/2] ASoC: fsl_easrc: Fix duplicate debufs entries

Alexander Stein posted 2 patches 1 month, 3 weeks ago
sound/soc/fsl/fsl_asrc_dma.c | 3 +++
sound/soc/fsl/fsl_easrc.c    | 3 +++
2 files changed, 6 insertions(+)
[PATCH 0/2] ASoC: fsl_easrc: Fix duplicate debufs entries
Posted by Alexander Stein 1 month, 3 weeks ago
Hi,

this series fixes the error regarding duplicate debugfs directory creation on
TQMa8MPxL (imx8mp) when easrc is enabled:
  debugfs: '30c90000.easrc' already exists in 'tqm-tlv320aic32'

This is caused because fsl_easrc adds two components which use the device name
as component name. Debugfs directories for each component is created, resulting
on name conflict. Fix this by adding the debugfs_prefix for both component
drivers.

Before:
$ ls /sys/kernel/debug/asoc/tqm-tlv320aic32/
30c30000.sai  30c90000.easrc  HiFi-ASRC-FE  dapm  dapm_pop_time
dma:30c30000.sai  tlv320aic32x4.1-0018

After:
$ ls /sys/kernel/debug/asoc/tqm-tlv320aic32/
30c30000.sai  HiFi-ASRC-FE  asrc:30c90000.easrc  dapm  dapm_pop_time
dma:30c30000.sai  easrc:30c90000.easrc  tlv320aic32x4.1-0018

Best regards,
Alexander

Alexander Stein (2):
  ASoC: fsl_easrc: fix duplicate debugfs directory error
  ASoC: fsl_asrc_dma: fix duplicate debugfs directory error

 sound/soc/fsl/fsl_asrc_dma.c | 3 +++
 sound/soc/fsl/fsl_easrc.c    | 3 +++
 2 files changed, 6 insertions(+)

-- 
2.43.0
Re: [PATCH 0/2] ASoC: fsl_easrc: Fix duplicate debufs entries
Posted by Mark Brown 1 month, 2 weeks ago
On Tue, 16 Dec 2025 10:40:41 +0100, Alexander Stein wrote:
> this series fixes the error regarding duplicate debugfs directory creation on
> TQMa8MPxL (imx8mp) when easrc is enabled:
>   debugfs: '30c90000.easrc' already exists in 'tqm-tlv320aic32'
> 
> This is caused because fsl_easrc adds two components which use the device name
> as component name. Debugfs directories for each component is created, resulting
> on name conflict. Fix this by adding the debugfs_prefix for both component
> drivers.
> 
> [...]

Applied to

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next

Thanks!

[1/2] ASoC: fsl_easrc: fix duplicate debugfs directory error
      commit: 9f5f3583ba423e6eed0a96e4d4b7d808d618f3aa
[2/2] ASoC: fsl_asrc_dma: fix duplicate debugfs directory error
      commit: 4de6cea0d8e10c9e3f38ccff7edd45891976e67a

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark
Re: [PATCH 0/2] ASoC: fsl_easrc: Fix duplicate debufs entries
Posted by Fabio Estevam 1 month, 3 weeks ago
Hi Alexander,

On Tue, Dec 16, 2025 at 6:41 AM Alexander Stein
<alexander.stein@ew.tq-group.com> wrote:
>
> Hi,
>
> this series fixes the error regarding duplicate debugfs directory creation on
> TQMa8MPxL (imx8mp) when easrc is enabled:
>   debugfs: '30c90000.easrc' already exists in 'tqm-tlv320aic32'
>
> This is caused because fsl_easrc adds two components which use the device name
> as component name. Debugfs directories for each component is created, resulting
> on name conflict. Fix this by adding the debugfs_prefix for both component
> drivers.
>
> Before:
> $ ls /sys/kernel/debug/asoc/tqm-tlv320aic32/
> 30c30000.sai  30c90000.easrc  HiFi-ASRC-FE  dapm  dapm_pop_time
> dma:30c30000.sai  tlv320aic32x4.1-0018
>
> After:
> $ ls /sys/kernel/debug/asoc/tqm-tlv320aic32/
> 30c30000.sai  HiFi-ASRC-FE  asrc:30c90000.easrc  dapm  dapm_pop_time
> dma:30c30000.sai  easrc:30c90000.easrc  tlv320aic32x4.1-0018

Thanks for fixing these error messages.

For the series:

Reviewed-by: Fabio Estevam <festevam@gmail.com>