From: Jerome Brunet Date: Thu, 4 Apr 2019 11:50:15 +0000 (+0200) Subject: ASoC: max98357a: add missing supported rates X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=fdf34366d3242d5eeffa1b4d9a3497ebf30a4ecb;p=openwrt%2Fstaging%2Fblogic.git 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 Signed-off-by: Mark Brown --- 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,