]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
ASoC: es7134: remove 64kHz rate from the supported rates
authorJerome Brunet <jbrunet@baylibre.com>
Fri, 29 Jun 2018 15:09:20 +0000 (17:09 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 2 Jul 2018 10:07:15 +0000 (11:07 +0100)
64Khz is actually not supported by the es7134 according to the datasheet

Fixes: 9000b59d7a12 ("ASoC: es7134: add es7134 DAC driver")
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/es7134.c

index 58515bb1a303655525ec2c259f4370f0868a0096..2fbb49f5b27817f2ec736ba0d29659796b3e9224 100644 (file)
@@ -48,7 +48,11 @@ static struct snd_soc_dai_driver es7134_dai = {
                .stream_name = "Playback",
                .channels_min = 2,
                .channels_max = 2,
-               .rates = SNDRV_PCM_RATE_8000_192000,
+               .rates = (SNDRV_PCM_RATE_8000_48000 |
+                         SNDRV_PCM_RATE_88200      |
+                         SNDRV_PCM_RATE_96000      |
+                         SNDRV_PCM_RATE_176400     |
+                         SNDRV_PCM_RATE_192000),
                .formats = (SNDRV_PCM_FMTBIT_S16_LE  |
                            SNDRV_PCM_FMTBIT_S18_3LE |
                            SNDRV_PCM_FMTBIT_S20_3LE |