All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/1 - try2] ASoC: debugfs support improvement
@ 2009-10-01  7:32 Peter Ujfalusi
  2009-10-01  7:32 ` [PATCH 1/1 - try2] ASoC: add support for multiple cards/codecs in debugfs Peter Ujfalusi
  0 siblings, 1 reply; 9+ messages in thread
From: Peter Ujfalusi @ 2009-10-01  7:32 UTC (permalink / raw)
  To: alsa-devel; +Cc: broonie

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:
{dev_name(socdev->dev)}-{codec->name} for example:

debugfs/asoc/soc-audio.0-twl4030/...

So it is easier to find the correct codec we are looking for.

Note: The patch accidentally fixes one trailing space in the
soc_pcm_apply_symmetry function.

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

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2009-10-01 14:06 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-01  7:32 [PATCH 0/1 - try2] ASoC: debugfs support improvement Peter Ujfalusi
2009-10-01  7:32 ` [PATCH 1/1 - try2] ASoC: add support for multiple cards/codecs in debugfs Peter Ujfalusi
2009-10-01 10:51   ` Mark Brown
2009-10-01 11:02     ` Peter Ujfalusi
2009-10-01 11:09       ` Mark Brown
2009-10-01 13:49         ` Peter Ujfalusi
2009-10-01 14:06           ` Mark Brown
2009-10-01 11:19       ` Mark Brown
2009-10-01 13:06         ` Peter Ujfalusi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.