diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2009-04-22 16:06:14 -0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2009-04-22 16:37:42 -0400 |
commit | 727fb909e541ebd09d5b552afef02a147978c151 (patch) | |
tree | d77e05b84d9ce4853754ed4d659c6c27630be42d /sound/soc/codecs | |
parent | d7d5c5476a12333a33b7a14ebb10eccc729c01cb (diff) |
ASoC: Remove redundant rate constraint for WM8903
This is now handled by symmetric_rates.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/codecs')
-rw-r--r-- | sound/soc/codecs/wm8903.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/sound/soc/codecs/wm8903.c b/sound/soc/codecs/wm8903.c index 0bab5c6bd64a..bec418af97c9 100644 --- a/sound/soc/codecs/wm8903.c +++ b/sound/soc/codecs/wm8903.c | |||
@@ -1289,14 +1289,8 @@ static int wm8903_startup(struct snd_pcm_substream *substream, | |||
1289 | if (wm8903->master_substream) { | 1289 | if (wm8903->master_substream) { |
1290 | master_runtime = wm8903->master_substream->runtime; | 1290 | master_runtime = wm8903->master_substream->runtime; |
1291 | 1291 | ||
1292 | dev_dbg(&i2c->dev, "Constraining to %d bits at %dHz\n", | 1292 | dev_dbg(&i2c->dev, "Constraining to %d bits\n", |
1293 | master_runtime->sample_bits, | 1293 | master_runtime->sample_bits); |
1294 | master_runtime->rate); | ||
1295 | |||
1296 | snd_pcm_hw_constraint_minmax(substream->runtime, | ||
1297 | SNDRV_PCM_HW_PARAM_RATE, | ||
1298 | master_runtime->rate, | ||
1299 | master_runtime->rate); | ||
1300 | 1294 | ||
1301 | snd_pcm_hw_constraint_minmax(substream->runtime, | 1295 | snd_pcm_hw_constraint_minmax(substream->runtime, |
1302 | SNDRV_PCM_HW_PARAM_SAMPLE_BITS, | 1296 | SNDRV_PCM_HW_PARAM_SAMPLE_BITS, |