Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 148210
b: refs/heads/master
c: 727fb90
h: refs/heads/master
v: v3
  • Loading branch information
Mark Brown committed Apr 22, 2009
1 parent db5f1cf commit cfc0dfb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 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: d7d5c5476a12333a33b7a14ebb10eccc729c01cb
refs/heads/master: 727fb909e541ebd09d5b552afef02a147978c151
10 changes: 2 additions & 8 deletions trunk/sound/soc/codecs/wm8903.c
Original file line number Diff line number Diff line change
Expand Up @@ -1289,14 +1289,8 @@ static int wm8903_startup(struct snd_pcm_substream *substream,
if (wm8903->master_substream) {
master_runtime = wm8903->master_substream->runtime;

dev_dbg(&i2c->dev, "Constraining to %d bits at %dHz\n",
master_runtime->sample_bits,
master_runtime->rate);

snd_pcm_hw_constraint_minmax(substream->runtime,
SNDRV_PCM_HW_PARAM_RATE,
master_runtime->rate,
master_runtime->rate);
dev_dbg(&i2c->dev, "Constraining to %d bits\n",
master_runtime->sample_bits);

snd_pcm_hw_constraint_minmax(substream->runtime,
SNDRV_PCM_HW_PARAM_SAMPLE_BITS,
Expand Down

0 comments on commit cfc0dfb

Please sign in to comment.