Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 170160
b: refs/heads/master
c: ce3e373
h: refs/heads/master
v: v3
  • Loading branch information
Peter Ujfalusi authored and Mark Brown committed Oct 2, 2009
1 parent 73eeede commit d65ce0c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 88439ac793934a47f47ad285656b63d09f5937c8
refs/heads/master: ce3e3737a3361e0c7030f8598eec36bb82050de6
8 changes: 6 additions & 2 deletions trunk/sound/soc/soc-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -1256,8 +1256,12 @@ static void soc_init_codec_debugfs(struct snd_soc_codec *codec)
{
char codec_root[128];

snprintf(codec_root, sizeof(codec_root),
"%s-%s", dev_name(codec->socdev->dev), codec->name);
if (codec->dev)
snprintf(codec_root, sizeof(codec_root),
"%s.%s", codec->name, dev_name(codec->dev));
else
snprintf(codec_root, sizeof(codec_root),
"%s", codec->name);

codec->debugfs_codec_root = debugfs_create_dir(codec_root,
debugfs_root);
Expand Down

0 comments on commit d65ce0c

Please sign in to comment.