[PATCH] ASoC: pcm5102a: increase rate from 192k to 384k
gearhead
ys3al35l at gmail.com
Tue Sep 7 23:01:25 CEST 2021
the pcm5102a is capable of 384k, but the current code limits it to 192k.
This commit extends to 384k
Signed-off-by: gearhead <ys3al35l at gmail.com>
---
sound/soc/codecs/pcm5102a.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/soc/codecs/pcm5102a.c b/sound/soc/codecs/pcm5102a.c
index b8cfc250612c..f39f98bbc97f 100644
--- a/sound/soc/codecs/pcm5102a.c
+++ b/sound/soc/codecs/pcm5102a.c
@@ -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
--
2.33.0
More information about the Alsa-devel
mailing list