summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorMaxime Ripard <maxime.ripard@free-electrons.com>2015-09-29 15:43:18 -0400
committerMark Brown <broonie@kernel.org>2015-09-30 14:41:14 -0400
commitdebb97248741597fa9f38f563f2b9a17250ee4c5 (patch)
tree97a4fd7968d0a77df83bd2a10a1bfc0d83896687 /sound
parent98a4b665bc91480cc4c054093a59249e153ac17e (diff)
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.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sound/soc/sunxi/sun4i-codec.c b/sound/soc/sunxi/sun4i-codec.c
index 77408af5d38b..47780552dcd0 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 = {
389 .rate_max = 192000, 389 .rate_max = 192000,
390 .rates = SNDRV_PCM_RATE_8000_48000 | 390 .rates = SNDRV_PCM_RATE_8000_48000 |
391 SNDRV_PCM_RATE_96000 | 391 SNDRV_PCM_RATE_96000 |
392 SNDRV_PCM_RATE_192000 | 392 SNDRV_PCM_RATE_192000,
393 SNDRV_PCM_RATE_KNOT,
394 .formats = SNDRV_PCM_FMTBIT_S16_LE | 393 .formats = SNDRV_PCM_FMTBIT_S16_LE |
395 SNDRV_PCM_FMTBIT_S32_LE, 394 SNDRV_PCM_FMTBIT_S32_LE,
396 .sig_bits = 24, 395 .sig_bits = 24,