summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/max98357a.c
diff options
context:
space:
mode:
authorJerome Brunet <jbrunet@baylibre.com>2019-04-04 13:50:15 +0200
committerMark Brown <broonie@kernel.org>2019-04-04 15:50:00 +0200
commitfdf34366d3242d5eeffa1b4d9a3497ebf30a4ecb (patch)
tree2e46191e0a6b7ad4c92af776b24960129bd8d701 /sound/soc/codecs/max98357a.c
parentASoC: tlv320aic32x4: Add Playback PowerTune Controls (diff)
downloadlinux-fdf34366d3242d5eeffa1b4d9a3497ebf30a4ecb.tar.xz
linux-fdf34366d3242d5eeffa1b4d9a3497ebf30a4ecb.zip
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: Jerome Brunet <jbrunet@baylibre.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/max98357a.c')
-rw-r--r--sound/soc/codecs/max98357a.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/soc/codecs/max98357a.c b/sound/soc/codecs/max98357a.c
index d469576b5a7b..d037a3e4d323 100644
--- 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,