Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 310789
b: refs/heads/master
c: 35ea065
h: refs/heads/master
i:
  310787: f97a892
v: v3
  • Loading branch information
Liam Girdwood authored and Mark Brown committed Jun 7, 2012
1 parent b35db02 commit f2e1f46
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: bfd37bb5f681961e255fd2f346c20fdae2ef3f27
refs/heads/master: 35ea0655a1bcdb1dcb1c1d0c4b6b391ade9c6d01
6 changes: 6 additions & 0 deletions trunk/sound/soc/soc-pcm.c
Original file line number Diff line number Diff line change
Expand Up @@ -794,6 +794,9 @@ static struct snd_soc_pcm_runtime *dpcm_get_be(struct snd_soc_card *card,
for (i = 0; i < card->num_links; i++) {
be = &card->rtd[i];

if (!be->dai_link->no_pcm)
continue;

if (be->cpu_dai->playback_widget == widget ||
be->codec_dai->playback_widget == widget)
return be;
Expand All @@ -803,6 +806,9 @@ static struct snd_soc_pcm_runtime *dpcm_get_be(struct snd_soc_card *card,
for (i = 0; i < card->num_links; i++) {
be = &card->rtd[i];

if (!be->dai_link->no_pcm)
continue;

if (be->cpu_dai->capture_widget == widget ||
be->codec_dai->capture_widget == widget)
return be;
Expand Down

0 comments on commit f2e1f46

Please sign in to comment.