ASoC: sun4i-codec: Remove redundant SND_PCM_RATE_KNOT
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Tue, 29 Sep 2015 19:43:18 +0000 (21:43 +0200)
committerMark Brown <broonie@kernel.org>
Wed, 30 Sep 2015 18:41:14 +0000 (19:41 +0100)
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>
sound/soc/sunxi/sun4i-codec.c

index 77408af5d38b0869bb66fd5f97cbbde7628e88cb..47780552dcd0c7020b585bc7313a6c843b660442 100644 (file)
@@ -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,