Merge tag '4.4-additional' of git://git.lwn.net/linux
[deliverable/linux.git] / sound / soc / codecs / adav80x.c
index 198c924551b78e268b8480a38d481703fe53d3a9..acff8d62059cf49de24585aeac9c2143412c0175 100644 (file)
@@ -728,8 +728,8 @@ static int adav80x_dai_startup(struct snd_pcm_substream *substream,
        if (!snd_soc_codec_is_active(codec) || !adav80x->rate)
                return 0;
 
-       return snd_pcm_hw_constraint_minmax(substream->runtime,
-                       SNDRV_PCM_HW_PARAM_RATE, adav80x->rate, adav80x->rate);
+       return snd_pcm_hw_constraint_single(substream->runtime,
+                       SNDRV_PCM_HW_PARAM_RATE, adav80x->rate);
 }
 
 static void adav80x_dai_shutdown(struct snd_pcm_substream *substream,
This page took 0.029792 seconds and 5 git commands to generate.