summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/adav80x.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2015-11-02 09:00:37 +0100
committerTakashi Iwai <tiwai@suse.de>2015-11-02 09:00:37 +0100
commitbc88c9e923819b02f8cfaec1bb80d7e5530c0ac5 (patch)
tree1731a322d153ee18017822a8fd66295a0ec7a4e2 /sound/soc/codecs/adav80x.c
parentcadd16ea33a938d49aee99edd4758cc76048b399 (diff)
parent2c8d08925272b9be383cd81f1973c6faf9fbf53a (diff)
downloadlinux-bc88c9e923819b02f8cfaec1bb80d7e5530c0ac5.tar.bz2
Merge branch 'for-next' into for-linus
Diffstat (limited to 'sound/soc/codecs/adav80x.c')
-rw-r--r--sound/soc/codecs/adav80x.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/codecs/adav80x.c b/sound/soc/codecs/adav80x.c
index 198c924551b7..acff8d62059c 100644
--- a/sound/soc/codecs/adav80x.c
+++ b/sound/soc/codecs/adav80x.c
@@ -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,