diff options
author | Maxime Ripard <maxime.ripard@free-electrons.com> | 2015-09-29 21:43:18 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-09-30 19:41:14 +0100 |
commit | debb97248741597fa9f38f563f2b9a17250ee4c5 (patch) | |
tree | 97a4fd7968d0a77df83bd2a10a1bfc0d83896687 /sound | |
parent | 98a4b665bc91480cc4c054093a59249e153ac17e (diff) | |
download | op-kernel-dev-debb97248741597fa9f38f563f2b9a17250ee4c5.zip op-kernel-dev-debb97248741597fa9f38f563f2b9a17250ee4c5.tar.gz |
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: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/sunxi/sun4i-codec.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sound/soc/sunxi/sun4i-codec.c b/sound/soc/sunxi/sun4i-codec.c index 77408af..4778055 100644 --- a/sound/soc/sunxi/sun4i-codec.c +++ b/sound/soc/sunxi/sun4i-codec.c @@ -389,8 +389,7 @@ static struct snd_soc_dai_driver sun4i_codec_dai = { .rate_max = 192000, .rates = SNDRV_PCM_RATE_8000_48000 | SNDRV_PCM_RATE_96000 | - SNDRV_PCM_RATE_192000 | - SNDRV_PCM_RATE_KNOT, + SNDRV_PCM_RATE_192000, .formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S32_LE, .sig_bits = 24, |