Skip to content

Commit bf103eb

Browse files
larsclausenbroonie
authored andcommitted
ASoC: s6000: Don't mix SNDRV_PCM_RATE_CONTINUOUS with specific rates
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>
1 parent 24710c9 commit bf103eb

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

‎sound/soc/s6000/s6000-i2s.c‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -405,8 +405,7 @@ static int s6000_i2s_dai_probe(struct snd_soc_dai *dai)
405405
return 0;
406406
}
407407

408-
#define S6000_I2S_RATES (SNDRV_PCM_RATE_CONTINUOUS | SNDRV_PCM_RATE_5512 | \
409-
SNDRV_PCM_RATE_8000_192000)
408+
#define S6000_I2S_RATES SNDRV_PCM_RATE_CONTINUOUS
410409
#define S6000_I2S_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S32_LE)
411410

412411
static const struct snd_soc_dai_ops s6000_i2s_dai_ops = {

0 commit comments

Comments
 (0)