Skip to content

ASoC: debugfs support improvement

Peter Ujfalusi alsa-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 patch 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1ASoC: add support for multiple cards/codecs in debugfsinclude/sound/soc.h sound/soc/soc-core.c+15 -75 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/1] ASoC: debugfs support improvement

Hello,

I have noticed that the support for multiple cards/codecs via the debugfs is kind of broken.
The second codec, which tries to create the debugfs files would emit the following messages:
ASoC: Failed to create codec register debugfs file
Failed to create pop time debugfs file
...

The following patch fixes this by adding a directory per codec to host the files.
The additional directory is named as codec->name, so it is easier to find the correct codec we are looking for.

---
Peter Ujfalusi (1):
ASoC: add support for multiple cards/codecs in debugfs

 include/sound/soc.h  |    1 +
 sound/soc/soc-core.c |   21 ++++++++++++++-------
 2 files changed, 15 insertions(+), 7 deletions(-)