Commit fdf34366 authored by Jerome Brunet's avatar Jerome Brunet Committed by Mark Brown

ASoC: max98357a: add missing supported rates

According the publicly available datasheet (and some test) the max98357a
also supports 32, 44.1 and 88.2 kHz sample rate.
Signed-off-by: default avatarJerome Brunet <jbrunet@baylibre.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent d3e6e374
...@@ -97,7 +97,10 @@ static struct snd_soc_dai_driver max98357a_dai_driver = { ...@@ -97,7 +97,10 @@ static struct snd_soc_dai_driver max98357a_dai_driver = {
SNDRV_PCM_FMTBIT_S32, SNDRV_PCM_FMTBIT_S32,
.rates = SNDRV_PCM_RATE_8000 | .rates = SNDRV_PCM_RATE_8000 |
SNDRV_PCM_RATE_16000 | SNDRV_PCM_RATE_16000 |
SNDRV_PCM_RATE_32000 |
SNDRV_PCM_RATE_44100 |
SNDRV_PCM_RATE_48000 | SNDRV_PCM_RATE_48000 |
SNDRV_PCM_RATE_88200 |
SNDRV_PCM_RATE_96000, SNDRV_PCM_RATE_96000,
.rate_min = 8000, .rate_min = 8000,
.rate_max = 96000, .rate_max = 96000,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment