projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d3e6e37
)
ASoC: max98357a: add missing supported rates
author
Jerome Brunet
<jbrunet@baylibre.com>
Thu, 4 Apr 2019 11:50:15 +0000
(13:50 +0200)
committer
Mark Brown
<broonie@kernel.org>
Thu, 4 Apr 2019 13:50:00 +0000
(20:50 +0700)
According the publicly available datasheet (and some test) the max98357a
also supports 32, 44.1 and 88.2 kHz sample rate.
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/max98357a.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/max98357a.c
b/sound/soc/codecs/max98357a.c
index d469576b5a7bb4a75ea5f26289f2e5a9fbe14eb0..d037a3e4d3232bee2ad3dd6100f693e8975adee6 100644
(file)
--- a/
sound/soc/codecs/max98357a.c
+++ b/
sound/soc/codecs/max98357a.c
@@
-97,7
+97,10
@@
static struct snd_soc_dai_driver max98357a_dai_driver = {
SNDRV_PCM_FMTBIT_S32,
.rates = SNDRV_PCM_RATE_8000 |
SNDRV_PCM_RATE_16000 |
+ SNDRV_PCM_RATE_32000 |
+ SNDRV_PCM_RATE_44100 |
SNDRV_PCM_RATE_48000 |
+ SNDRV_PCM_RATE_88200 |
SNDRV_PCM_RATE_96000,
.rate_min = 8000,
.rate_max = 96000,