]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - sound/pci/lx6464es/lx6464es.c
Merge remote-tracking branch 'sound-current/for-linus'
[karo-tx-linux.git] / sound / pci / lx6464es / lx6464es.c
index cba89beb2b38fac6e376a2231c1e4f68caa644e5..8b8e2e54fba3f1520d3ed6c6f22185274ca6ae5b 100644 (file)
@@ -234,8 +234,8 @@ static int lx_pcm_open(struct snd_pcm_substream *substream)
 
        /* the clock rate cannot be changed */
        board_rate = chip->board_sample_rate;
-       err = snd_pcm_hw_constraint_minmax(runtime, SNDRV_PCM_HW_PARAM_RATE,
-                                          board_rate, board_rate);
+       err = snd_pcm_hw_constraint_single(runtime, SNDRV_PCM_HW_PARAM_RATE,
+                                          board_rate);
 
        if (err < 0) {
                dev_warn(chip->card->dev, "could not constrain periods\n");