ASoC: s6000: Don't mix SNDRV_PCM_RATE_CONTINUOUS with specific rates
authorLars-Peter Clausen <lars@metafoo.de>
Sat, 11 Jan 2014 09:24:42 +0000 (10:24 +0100)
committerMark Brown <broonie@linaro.org>
Tue, 14 Jan 2014 20:42:29 +0000 (20:42 +0000)
SNDRV_PCM_RATE_CONTINUOUS means that all rates (possibly limited to a certain
interval) are supported. There is no need to manually set other rate bits.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Acked-by: Daniel Glöckner <daniel-gl@gmx.net>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/s6000/s6000-i2s.c

index 73bb99f0109a2579597128e692c7d70f1de8758d..7eba7979b9af606df34b2d40be1dceb8ef9a7964 100644 (file)
@@ -405,8 +405,7 @@ static int s6000_i2s_dai_probe(struct snd_soc_dai *dai)
        return 0;
 }
 
-#define S6000_I2S_RATES        (SNDRV_PCM_RATE_CONTINUOUS | SNDRV_PCM_RATE_5512 | \
-                        SNDRV_PCM_RATE_8000_192000)
+#define S6000_I2S_RATES SNDRV_PCM_RATE_CONTINUOUS
 #define S6000_I2S_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S32_LE)
 
 static const struct snd_soc_dai_ops s6000_i2s_dai_ops = {