summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/max98373.c
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2019-08-20 19:28:43 +0200
committerMark Brown <broonie@kernel.org>2019-08-20 19:28:43 +0200
commitdd28d54c248fa37794dfa3d23a24ff99a1d3b6ac (patch)
tree066b7a24eb08527f47da41ac3fd3621d073a24d6 /sound/soc/codecs/max98373.c
parentASoC: intel: cht_bsw_max98090_ti: Add all Chromebooks that need pmc_plt_clk_0... (diff)
parentASoC: sun4i-i2s: Register regmap and PCM before our component (diff)
downloadlinux-dd28d54c248fa37794dfa3d23a24ff99a1d3b6ac.tar.xz
linux-dd28d54c248fa37794dfa3d23a24ff99a1d3b6ac.zip
Merge branch 'asoc-5.3' into asoc-5.4
Diffstat (limited to 'sound/soc/codecs/max98373.c')
-rw-r--r--sound/soc/codecs/max98373.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/sound/soc/codecs/max98373.c b/sound/soc/codecs/max98373.c
index 9a1eb7222357..e609abcf3220 100644
--- a/sound/soc/codecs/max98373.c
+++ b/sound/soc/codecs/max98373.c
@@ -268,6 +268,12 @@ static int max98373_dai_hw_params(struct snd_pcm_substream *substream,
case 48000:
sampling_rate = MAX98373_PCM_SR_SET1_SR_48000;
break;
+ case 88200:
+ sampling_rate = MAX98373_PCM_SR_SET1_SR_88200;
+ break;
+ case 96000:
+ sampling_rate = MAX98373_PCM_SR_SET1_SR_96000;
+ break;
default:
dev_err(component->dev, "rate %d not supported\n",
params_rate(params));