summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/pcm5102a.c
diff options
context:
space:
mode:
authorgearhead <ys3al35l@gmail.com>2021-09-07 23:01:25 +0200
committerMark Brown <broonie@kernel.org>2021-09-13 02:59:20 +0200
commit0beeb330300f082e8b6849a9f83d34efa2578edd (patch)
tree5c6627290ea4b70397acdb6d70157ef35e1c5d81 /sound/soc/codecs/pcm5102a.c
parentASoC: rt1011: add i2s reference control for rt1011 (diff)
downloadlinux-0beeb330300f082e8b6849a9f83d34efa2578edd.tar.xz
linux-0beeb330300f082e8b6849a9f83d34efa2578edd.zip
ASoC: pcm5102a: increase rate from 192k to 384k
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>
Diffstat (limited to 'sound/soc/codecs/pcm5102a.c')
-rw-r--r--sound/soc/codecs/pcm5102a.c2
1 files changed, 1 insertions, 1 deletions
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