Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 182809
b: refs/heads/master
c: 40ca114
h: refs/heads/master
i:
  182807: 589b297
v: v3
  • Loading branch information
Mark Brown committed Dec 31, 2009
1 parent 7c2d8d0 commit ea41f7e
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 633154d3a7bbd542465b905392bf76b780f00b4f
refs/heads/master: 40ca114265a281d51b261771df551a373fc8ff3c
4 changes: 2 additions & 2 deletions trunk/sound/soc/soc-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -1276,8 +1276,8 @@ static int soc_new_pcm(struct snd_soc_device *socdev,
codec_dai->codec = card->codec;

/* check client and interface hw capabilities */
sprintf(new_name, "%s %s-%d", dai_link->stream_name, codec_dai->name,
num);
snprintf(new_name, sizeof(new_name), "%s %s-%d",
dai_link->stream_name, codec_dai->name, num);

if (codec_dai->playback.channels_min)
playback = 1;
Expand Down

0 comments on commit ea41f7e

Please sign in to comment.