ASoC: Remove redundant rate constraint for WM8903
This is now handled by symmetric_rates. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
This commit is contained in:
@@ -1289,14 +1289,8 @@ static int wm8903_startup(struct snd_pcm_substream *substream,
|
|||||||
if (wm8903->master_substream) {
|
if (wm8903->master_substream) {
|
||||||
master_runtime = wm8903->master_substream->runtime;
|
master_runtime = wm8903->master_substream->runtime;
|
||||||
|
|
||||||
dev_dbg(&i2c->dev, "Constraining to %d bits at %dHz\n",
|
dev_dbg(&i2c->dev, "Constraining to %d bits\n",
|
||||||
master_runtime->sample_bits,
|
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);
|
|
||||||
|
|
||||||
snd_pcm_hw_constraint_minmax(substream->runtime,
|
snd_pcm_hw_constraint_minmax(substream->runtime,
|
||||||
SNDRV_PCM_HW_PARAM_SAMPLE_BITS,
|
SNDRV_PCM_HW_PARAM_SAMPLE_BITS,
|
||||||
|
Reference in New Issue
Block a user