ASoC: pcm5102a: increase rate from 192k to 384k
authorgearhead <ys3al35l@gmail.com>
Tue, 7 Sep 2021 21:01:25 +0000 (16:01 -0500)
committerMark Brown <broonie@kernel.org>
Mon, 13 Sep 2021 00:59:20 +0000 (01:59 +0100)
the pcm5102a is capable of 384k, but the current code limits it to 192k.
This commit extends to 384k

Signed-off-by: gearhead <ys3al35l@gmail.com>
Link: https://lore.kernel.org/r/20210907210130.116769-1-ys3al35l@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/pcm5102a.c

index b8cfc25..f39f98b 100644 (file)
@@ -17,7 +17,7 @@ static struct snd_soc_dai_driver pcm5102a_dai = {
        .playback = {
                .channels_min = 2,
                .channels_max = 2,
-               .rates = SNDRV_PCM_RATE_8000_192000,
+               .rates = SNDRV_PCM_RATE_8000_384000,
                .formats = SNDRV_PCM_FMTBIT_S16_LE |
                           SNDRV_PCM_FMTBIT_S24_LE |
                           SNDRV_PCM_FMTBIT_S32_LE