Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 293206
b: refs/heads/master
c: 7df6f25
h: refs/heads/master
v: v3
  • Loading branch information
Peter Ujfalusi authored and Mark Brown committed Jan 20, 2012
1 parent 3dbdd83 commit 66900e6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 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: 8819f65ceca118561c9d59a04cfd91625c74a262
refs/heads/master: 7df6f2551f2255f55adab7338a3a1e6594a12f63
7 changes: 3 additions & 4 deletions trunk/sound/soc/omap/omap-dmic.c
Original file line number Diff line number Diff line change
Expand Up @@ -113,12 +113,10 @@ static int omap_dmic_dai_startup(struct snd_pcm_substream *substream,

mutex_lock(&dmic->mutex);

if (!dai->active) {
snd_pcm_hw_constraint_msbits(substream->runtime, 0, 32, 24);
if (!dai->active)
dmic->active = 1;
} else {
else
ret = -EBUSY;
}

mutex_unlock(&dmic->mutex);

Expand Down Expand Up @@ -445,6 +443,7 @@ static struct snd_soc_dai_driver omap_dmic_dai = {
.channels_max = 6,
.rates = SNDRV_PCM_RATE_96000 | SNDRV_PCM_RATE_192000,
.formats = SNDRV_PCM_FMTBIT_S32_LE,
.sig_bits = 24,
},
.ops = &omap_dmic_dai_ops,
};
Expand Down

0 comments on commit 66900e6

Please sign in to comment.