Commit debb9724 authored by Maxime Ripard's avatar Maxime Ripard Committed by Mark Brown

ASoC: sun4i-codec: Remove redundant SND_PCM_RATE_KNOT

The SND_PCM_RATE_KNOT covers all the rate settings, even though some that
we don't support, while we also list all the rate we support. Simply remove
it.
Signed-off-by: default avatarMaxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 98a4b665
...@@ -389,8 +389,7 @@ static struct snd_soc_dai_driver sun4i_codec_dai = { ...@@ -389,8 +389,7 @@ static struct snd_soc_dai_driver sun4i_codec_dai = {
.rate_max = 192000, .rate_max = 192000,
.rates = SNDRV_PCM_RATE_8000_48000 | .rates = SNDRV_PCM_RATE_8000_48000 |
SNDRV_PCM_RATE_96000 | SNDRV_PCM_RATE_96000 |
SNDRV_PCM_RATE_192000 | SNDRV_PCM_RATE_192000,
SNDRV_PCM_RATE_KNOT,
.formats = SNDRV_PCM_FMTBIT_S16_LE | .formats = SNDRV_PCM_FMTBIT_S16_LE |
SNDRV_PCM_FMTBIT_S32_LE, SNDRV_PCM_FMTBIT_S32_LE,
.sig_bits = 24, .sig_bits = 24,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment