aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sound/soc/codecs/max98373.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/codecs/max98373.c b/sound/soc/codecs/max98373.c
index 9af0d985d6e9..cb389571b253 100644
--- a/sound/soc/codecs/max98373.c
+++ b/sound/soc/codecs/max98373.c
@@ -176,6 +176,7 @@ static int max98373_get_bclk_sel(int bclk)
176 } 176 }
177 return 0; 177 return 0;
178} 178}
179
179static int max98373_set_clock(struct snd_soc_codec *codec, 180static int max98373_set_clock(struct snd_soc_codec *codec,
180 struct snd_pcm_hw_params *params) 181 struct snd_pcm_hw_params *params)
181{ 182{
@@ -270,6 +271,7 @@ static int max98373_dai_hw_params(struct snd_pcm_substream *substream,
270 params_rate(params)); 271 params_rate(params));
271 goto err; 272 goto err;
272 } 273 }
274
273 /* set DAI_SR to correct LRCLK frequency */ 275 /* set DAI_SR to correct LRCLK frequency */
274 regmap_update_bits(max98373->regmap, 276 regmap_update_bits(max98373->regmap,
275 MAX98373_R2027_PCM_SR_SETUP_1, 277 MAX98373_R2027_PCM_SR_SETUP_1,